开发者

iPhone AVAudioPlayer loop stuttering?

开发者 https://www.devze.com 2022-12-14 21:51 出处:网络
I havea sound that is about 开发者_开发技巧2 seconds long which I have set it\'s it\'s numberOfLoops property to -1, but it has a .5 second lag between loops i want the sound to fade into itself when

I have a sound that is about 开发者_开发技巧2 seconds long which I have set it's it's numberOfLoops property to -1, but it has a .5 second lag between loops i want the sound to fade into itself when it is looping. Help please!


You can try to use some low-level API to work with sound.I had good results using OpenAL on the iPhone. Also ideal looping is quiet hard, because your audio file should have, for example almost equivalent parameters(frequency, for example) to make people not to hear when the file is played from the beginning again.

0

精彩评论

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