Conforms to | NSObject |
---|---|
Declared in | OTAudioKit.h |
Overview
The audio bus marshals audio data between the network and the audio device. Call the [OTAudioDevice setAudioBus:] method to define the object that implements the OTAudioBus protocol. The audio device pushes captured audio samples to and fetches unrendered audio samples from the audio bus.
The object that implements this protocol must invoke the [OTAudioBus writeCaptureData:numberOfSamples:] and [OTAudioBus readRenderData:numberOfSamples:] methods to provide audio capture and render sample buffers.