Lines Matching refs:speex_resampler
31 SpeexResamplerState *speex_resampler; // handle on speex resampler member
57 if (rsmp != NULL && rsmp->speex_resampler != NULL) { in resampler_reset()
58 speex_resampler_reset_mem(rsmp->speex_resampler); in resampler_reset()
124 speex_resampler_process_int(rsmp->speex_resampler, in resampler_resample_from_provider()
131 speex_resampler_process_interleaved_int(rsmp->speex_resampler, in resampler_resample_from_provider()
171 speex_resampler_process_int(rsmp->speex_resampler, in resampler_resample_from_input()
178 speex_resampler_process_interleaved_int(rsmp->speex_resampler, in resampler_resample_from_input()
215 rsmp->speex_resampler = speex_resampler_init(channelCount, in create_resampler()
220 if (rsmp->speex_resampler == NULL) { in create_resampler()
240 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); in create_resampler()
242 frames = speex_resampler_get_output_latency(rsmp->speex_resampler); in create_resampler()
247 rsmp, &rsmp->itfe, rsmp->speex_resampler); in create_resampler()
261 if (rsmp->speex_resampler != NULL) { in release_resampler()
262 speex_resampler_destroy(rsmp->speex_resampler); in release_resampler()