Function deepspeech_sys::DS_FeedAudioContent[][src]

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_SetupStream()}. @param aBuffer An array of 16-bit, mono raw audio samples at the appropriate sample rate. @param aBufferSize The number of samples in @p aBuffer.