ailiaSpeechPushInputData method
~japanese @brief 音声をキューに投入します。 @param net ネットワークオブジェクトポインタ @param src PCMデータ(チャンネルインタリーブ、ステレオの場合はLRLR順、PCMは-1.0〜1.0のレンジ) @param channels チャンネル数 @param samples チャンネルあたりのサンプル数 @param sampling_rate サンプリングレート(Hz) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Push PCM data to queue @param net A network instance pointer @param src The input pcm data (channel interleave, LRLR order for stereo, -1.0 to 1.0 pcm range) @param channels The number of pcm channels @param samples The number of pcm samples per channel @param sampling_rate The sampling rate (Hz) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaSpeechPushInputData(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<ffi.Float> src,
int channels,
int samples,
int sampling_rate,
) {
return _ailiaSpeechPushInputData(
net,
src,
channels,
samples,
sampling_rate,
);
}