停止AKOperationGenerator时出现故障

时间:2018-02-15 04:14:07

标签: audiokit

当我停止AKOperationGenerator时,我听到了一个小故障。

binauralGenerator = AKOperationGenerator(numberOfChannels: 2) { _ in
    let bin = SoundEngineer.binaural(left: Binaural.leftFrequency,
                                         right: Binaural.rightFrequency,
                                         amplitude: Isochronic.amplitude*0.67)
    return bin
}

AudioKit.output = binauralGenerator
AudioKit.start()

// This is how I stop
generator.stop()

在iPhone6上运行的AudioKit 4.0.4。

0 个答案:

没有答案