pub unsafe extern "C" fn DS_SpeechToText(
    aCtx: *mut ModelState,
    aBuffer: *const c_short,
    aBufferSize: c_uint
) -> *mut c_char
Expand description

@brief Use the DeepSpeech model to convert speech to text.

@param aCtx The ModelState pointer for the model to use. @param aBuffer A 16-bit, mono raw audio signal at the appropriate sample rate (matching what the model was trained on). @param aBufferSize The number of samples in the audio signal.

@return The STT result. The user is responsible for freeing the string using {@link DS_FreeString()}. Returns NULL on error.