[−][src]Function deepspeech_sys::DS_FeedAudioContent
pub unsafe extern "C" fn DS_FeedAudioContent(
aSctx: *mut StreamingState,
aBuffer: *const c_short,
aBufferSize: c_uint
)
@brief Feed audio samples to an ongoing streaming inference.
@param aSctx A streaming state pointer returned by {@link DS_CreateStream()}. @param aBuffer An array of 16-bit, mono raw audio samples at the appropriate sample rate (matching what the model was trained on). @param aBufferSize The number of samples in @p aBuffer.