开发者

How to call recording Callback in custom CFRunLoop in iPhone

I am recording audio in iPhone ..

This is my Audio 开发者_如何学GoQueue object

  AudioQueueNewInput(
                       &audioDescription,
                       recordingCallback, self,
                       CFRunLoopGetCurrent(), kCFRunLoopDefaultMode, 0,
                       &mInputQueue
                       );

But i want to run this in a seperate RunLoop..How to create custom CFRunLoop ? Please help me..Thanks in advance.


You can create a new run loop by creating a new thread, they are thread bound and you shouldn't mess with it. I don't see a reason why you want to have a new run loop anyway, could you please tell us what you want to achieve?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜