简体   繁体   English

多个音频文件同时iPhone

[英]multiple audio files simultaneously iphone

Is it possible to play multiple audio files simultaneously.the number of audio file depends on the web response. 是否可以同时播放多个音频文件。音频文件的数量取决于网络响应。 For example if there are tree audio files then view show tree players and user can play two audio files and stop them separately/one by one not at the same time. 例如,如果有树音频文件,则查看显示树播放器,用户可以播放两个音频文件,然后分别停止播放/一次停止播放。

Can i do this using AVAudioPlayer ? 我可以使用AVAudioPlayer这样做吗? Please give me your suggestion 请给我你的建议

thanks. 谢谢。

Previously I have played 2 Videos using AVAudioPlayer. 以前,我使用AVAudioPlayer播放了2个视频。 So I guess it will do the same for audio files. 因此,我想它将对音频文件执行相同的操作。 I guess you can play to file simultaneously. 我想您可以同时播放文件。

But After playing Video 3-4 times player stop playing any video no matter what you do. 但是播放视频3-4次后,无论您做什么,播放器都停止播放任何视频。 That was the known bug in iOS 4. 那是iOS 4中的已知错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM