Function deepspeech_sys::DS_GetModelSampleRate
source · [−]pub unsafe extern "C" fn DS_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 DS_CreateModel}.
@return Sample rate expected by the model for its input.