otc_audio_data
This struct represents subscriber PCM audio data, reported periodically by the otc_subscriber_callbacks.on_audio_data callback function.
Properties
| Name | Type | Description |
|---|---|---|
sample_buffer |
const void * | The pointer to binary audio sample buffer. |
bits_per_sample |
const int | The number of bits per sample. |
sample_rate |
const int | The sample rate (number of times audio is sampled per second). |
number_of_channels |
const size_t | The number of channels. |
number_of_samples |
const size_t | The number of audio samples in the sample buffer. |