Home
last modified time | relevance | path

Searched refs:rsmp (Results 1 – 1 of 1) sorted by relevance

/system/media/audio_utils/
Dresampler.c52 struct resampler *rsmp = (struct resampler *)resampler; in resampler_reset() local
54 rsmp->frames_in = 0; in resampler_reset()
55 rsmp->frames_rq = 0; in resampler_reset()
57 if (rsmp != NULL && rsmp->speex_resampler != NULL) { in resampler_reset()
58 speex_resampler_reset_mem(rsmp->speex_resampler); in resampler_reset()
64 struct resampler *rsmp = (struct resampler *)resampler; in resampler_delay_ns() local
66 int32_t delay = (int32_t)((1000000000 * (int64_t)rsmp->frames_in) / rsmp->in_sample_rate); in resampler_delay_ns()
67 delay += rsmp->speex_delay_ns; in resampler_delay_ns()
78 struct resampler *rsmp = (struct resampler *)resampler; in resampler_resample_from_provider() local
80 if (rsmp == NULL || out == NULL || outFrameCount == NULL) { in resampler_resample_from_provider()
[all …]