【问题标题】:ObjectAL clipping popping with iOS 9使用 iOS 9 弹出 ObjectAL 剪辑
【发布时间】:2016-02-02 22:20:53
【问题描述】:

在 iOS 9 更新之前,我的鼓应用程序运行良好。当快速播放声音时,现在会出现削波爆裂类型的噪音。在 IOS 9 之前一切都很好。 不知道如何解决? 使用我喜欢的 OBjectAL 希望有一个修复。 谢谢! 链接到应用程序 雅各布·科尔的手盘(雅各布·科尔) https://appsto.re/us/CUbj8.i

【问题讨论】:

    标签: ios9 objectal


    【解决方案1】:

    我发现的一件事是,缓冲的样本会发出这种爆裂声。感谢您的帮助

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-12-15
      • 1970-01-01
      • 2012-02-15
      • 1970-01-01
      • 1970-01-01
      • 2011-05-28
      • 2014-09-26
      • 1970-01-01
      相关资源
      最近更新 更多