ailiaSpeechPushInputData method
Push PCM data to queue
Parameters:
net: A network instance pointersrc: The input pcm data (channel interleave, LRLR order for stereo, -1.0 to 1.0 pcm range)channels: The number of pcm channelssamples: The number of pcm samples per channelsampling_rate: The sampling rate (Hz)
Returns:
If this function is successful, it returns 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,
);
}