TVIAudioSink Protocol Reference
Render a single audio sample.
A CMSampleBufferRef which is being delivered to the sink. You should retain this if you need it outside of the scope of this method call.
Samples are delivered in a
CMSampleBuffer which fully describes the format and timings of the audio.
Please note that many audio frames are contained within a single CMSampleBuffer.
Callbacks are raised at presentation time with an interval of 10 milliseconds.
CMSampleBuffers are suitable to pass to Apple APIs like
However, you should ensure that you process each sample in a real-time fashion. Holding on to seconds worth of audio
will result in future samples being dropped.