开发者

How to play next file using Audio Queue Services

开发者 https://www.devze.com 2022-12-08 08:42 出处:网络
What is the right way to play next file using Audio Queue Services? When \"play next\" button is pressed should I first call AudioQueueStop and then AudioQueuePrime/AudioQueueStart or it is enough to

What is the right way to play next file using Audio Queue Services? When "play next" button is pressed should I first call AudioQueueStop and then AudioQueuePrime/AudioQueueStart or it is enough to just fill buffers with ne开发者_Python百科xt file data?

The problem is that the latter gives me sound glitches on iPhone.


Did you find a good solution?

You may have to reset the audio queue also, as the encoding might be different for each file.

0

精彩评论

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

关注公众号