coqui_stt_sys

Function STT_GetModelSampleRate

Source
pub unsafe extern "C" fn STT_GetModelSampleRate(
    aCtx: *const ModelState,
) -> c_int
Expand description

@brief Return the sample rate expected by a model.

@param aCtx A ModelState pointer created with {@link STT_CreateModel}.

@return Sample rate expected by the model for its input.