Popping noise between AudioQueueBuffers
问题 I'm trying to play a pure sine wave tone using Core Audio AudioQueue's (Swift 3). It plays nicely, but I'm getting popping noises every time my AudioQueueOutputCallback is invoked to fill a new buffer with audio data. My AudioStreamer class looks like: let kNumberBuffers = 3 protocol AudioStreamerDelegate { func requestAudioData() -> [Float] } let sampleRate = 48000.0 let bufferSize = Int(sampleRate) / 50 let bufferByteSize = UInt32(bufferSize * sizeof(Float)) // 20 mili sec of audio class