在iOS 9更新之前,我的鼓应用运行得很好。当快速播放声音时,现在会有一种剪裁弹出类型的噪音。在iOS9之前一切都很好。不确定如何修复?使用我喜欢的OBjectAL,希望能解决这个问题。谢谢!链接到应用程序Handpan (作者:雅各布·科尔)作者:雅各布·科尔https://appsto.re/us/CUbj8.i
发布于 2016-02-04 09:20:13
我发现的一件事是,是缓冲的样本发出了这种爆裂的声音。谢谢你的帮助
- (void)playD1 {
// [[OALSimpleAudio sharedInstance] playEffect:@"D1a.caf" ];
int randomSoundNumber = arc4random() % 3; //random number from 0 to 2
ALBuffer *buffer = self.D1Buffers[randomSoundNumber];
NSLog(@"random sound number = %i", randomSoundNumber);
self.D1Sources = [ALSource source];
[self.D1Sources stop];
[self.D1Sources play:buffer];https://stackoverflow.com/questions/35164910
复制相似问题