Type Alias

AVAudioNodeTapBlock

The block that receives copies of the output of an AVAudioNode.

Declaration

typealias AVAudioNodeTapBlock = (AVAudioPCMBuffer, AVAudioTime) -> Void

Discussion

This block has two parameters:

  • The buffer parameter is a buffer of audio captured from the output of an AVAudioNode.

  • The when parameter is the time the buffer was captured.