簡體   English   中英

使用iOS 9彈出ObjectAL剪輯

[英]ObjectAL clipping popping with iOS 9

在更新iOS 9之前,我的鼓應用程序運行良好。 當快速播放聲音時,現在會出現削波彈出式噪音。 直到IOS 9一切都很好。不確定如何解決? 我希望使用OBjectAL可以解決問題。 謝謝! 鏈接到Jacob Cole的app Handpan(由Jacob Cole撰寫) https://appsto.re/us/CUbj8.i

我發現的一件事是,緩沖的樣本發出了這種爆裂聲。 謝謝你的幫助

- (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];

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM