otc_audio_data

この構造体は、サブスクライバーのPCMオーディオデータを表しており、 otc_subscriber_callbacks.on_audio_data コールバック関数。

プロパティ

名称 タイプ 説明
sample_buffer const void * バイナリオーディオサンプルバッファへのポインタ。
bits_per_sample const int 1サンプルあたりのビット数。
sample_rate const int サンプリングレート(1秒間に音声がサンプリングされる回数)。
number_of_channels const size_t チャンネルの数。
number_of_samples const size_t サンプルバッファ内のオーディオサンプルの数。