|
OpenTok C SDK
|
#include <audio_data.h>
Data Fields | |
| const void * | sample_buffer |
| const int | bits_per_sample |
| const int | sample_rate |
| const size_t | number_of_channels |
| const size_t | number_of_samples |
This struct represents subscriber PCM audio data, reported periodically by the otc_subscriber_callbacks.on_audio_data callback function.
| const int bits_per_sample |
The number of bits per sample.
| const size_t number_of_channels |
The number of channels.
| const size_t number_of_samples |
The number of audio samples in the sample buffer.
| const void* sample_buffer |
The pointer to binary audio sample buffer.
| const int sample_rate |
The sample rate (number of times audio is sampled per second).
1.8.15