Searched refs:ratio_den (Results 1 - 2 of 2) sorted by relevance
/third_party/pulseaudio/speex/include/speex/ |
H A D | speex_resampler.h | 137 * @param ratio_den Denominator of the sampling rate ratio 147 spx_uint32_t ratio_den, 244 * @param ratio_den Denominator of the sampling rate ratio 250 spx_uint32_t ratio_den, 258 * @param ratio_den Denominator of the sampling rate ratio copied 262 spx_uint32_t *ratio_den);
|
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | resample.c | 801 EXPORT SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels, spx_uint32_t ratio_num, spx_uint32_t ratio_den, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) in speex_resampler_init_frac() argument 806 if (nb_channels == 0 || ratio_num == 0 || ratio_den == 0 || quality > 10 || quality < 0) in speex_resampler_init_frac() 848 speex_resampler_set_rate_frac(st, ratio_num, ratio_den, in_rate, out_rate); in speex_resampler_init_frac() 1109 EXPORT int speex_resampler_set_rate_frac(SpeexResamplerState *st, spx_uint32_t ratio_num, spx_uint32_t ratio_den, spx_uint32_t in_rate, spx_uint32_t out_rate) in speex_resampler_set_rate_frac() argument 1115 if (ratio_num == 0 || ratio_den == 0) in speex_resampler_set_rate_frac() 1118 if (st->in_rate == in_rate && st->out_rate == out_rate && st->num_rate == ratio_num && st->den_rate == ratio_den) in speex_resampler_set_rate_frac() 1125 st->den_rate = ratio_den; in speex_resampler_set_rate_frac() 1149 EXPORT void speex_resampler_get_ratio(SpeexResamplerState *st, spx_uint32_t *ratio_num, spx_uint32_t *ratio_den) in speex_resampler_get_ratio() argument 1152 *ratio_den = st->den_rate; in speex_resampler_get_ratio()
|
Completed in 3 milliseconds