Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dresampler.c28 struct resampler { struct
49 static void resampler_reset(struct resampler_itfe *resampler) in resampler_reset() argument
51 struct resampler *rsmp = (struct resampler *)resampler; in resampler_reset()
61 static int32_t resampler_delay_ns(struct resampler_itfe *resampler) in resampler_delay_ns() argument
63 struct resampler *rsmp = (struct resampler *)resampler; in resampler_delay_ns()
73 int resampler_resample_from_provider(struct resampler_itfe *resampler, in resampler_resample_from_provider() argument
77 struct resampler *rsmp = (struct resampler *)resampler; in resampler_resample_from_provider()
152 int resampler_resample_from_input(struct resampler_itfe *resampler, in resampler_resample_from_input() argument
158 struct resampler *rsmp = (struct resampler *)resampler; in resampler_resample_from_input()
194 struct resampler_itfe **resampler) in create_resampler() argument
[all …]
Decho_reference.c65 struct resampler_itfe *resampler; // input resampler member
167 if (er->resampler != NULL) { in echo_reference_write()
168 er->resampler->reset(er->resampler); in echo_reference_write()
222 if (er->resampler == NULL) { in echo_reference_write()
233 &er->resampler); in echo_reference_write()
235 er->resampler = NULL; in echo_reference_write()
253 er->resampler->resample_from_provider(er->resampler, in echo_reference_write()
378 if (er->resampler != NULL) { in echo_reference_read()
380 int32_t rsmp_delay = er->resampler->delay_ns(er->resampler); in echo_reference_read()
548 if (er->resampler != NULL) { in release_echo_reference()
[all …]
DAndroid.mk14 resampler.c \
/system/media/audio_utils/include/audio_utils/
Dresampler.h66 void (*reset)(struct resampler_itfe *resampler);
71 int (*resample_from_provider)(struct resampler_itfe *resampler,
79 int (*resample_from_input)(struct resampler_itfe *resampler,
87 int32_t (*delay_ns)(struct resampler_itfe *resampler);