TVIAudioSink Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | TVIAudioSink.h |
– renderSample:
required method
Render a single audio sample.
- (void)renderSample:(CMSampleBufferRef)audioSampleParameters
audioSample |
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. |
|---|
Discussion
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. You should expect callbacks to be raised at presentation time with an interval of 10 milliseconds.
Declared In
TVIAudioSink.h