开发者

Using two audio queues in iPhone application

开发者 https://www.devze.com 2023-03-14 19:06 出处:网络
In my application I am using two audio queues for play and two audio queues for recording. At a time only one record queue and one play queue is active. What I do is, first of all I start first record

In my application I am using two audio queues for play and two audio queues for recording. At a time only one record queue and one play queue is active. What I do is, first of all I start first record and play queue, then on some event I pause the previous record and play queue and start the another set of play and record queue. But when I start another set of audio queue after pausing first one, I am not getting voice recorded or playback through these two new audio queues. So is it posiible what I am doing? My callback functions of all queues are working fine. But I am not getting any voice recorded or played back in case of another set of a开发者_如何学运维udio queues.


I have had this problem aswell, I beleve it was fixed by stopping the first recording/playing before the second is started (so not pause, but a full stop).

0

精彩评论

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

关注公众号