开发者

iPhone - Using AV framework to play two audio files one after another?

开发者 https://www.devze.com 2023-02-18 13:59 出处:网络
I\'ve few audio files in mp3 format. One audio file plays \"Hi\", and another audio file plays \"How are you\". Similarly many other audio files.

I've few audio files in mp3 format. One audio file plays "Hi", and another audio file plays "How are you". Similarly many other audio files. I want to play two audio files one after another so that final audio speaks "Hi How are you". I know how to play one audio file. But how can I queue them in such a way that user don't find 开发者_高级运维any difference that they are two different files played one after another?


Use an AVQueuePlayer or implement something similar manually (if targeting < 4.1)

0

精彩评论

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