Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/
Dresampler.h31 typedef struct pa_resampler pa_resampler; typedef
35 void (*free)(pa_resampler *r);
36 void (*update_rates)(pa_resampler *r);
39 …unsigned (*resample)(pa_resampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *ou…
41 void (*reset)(pa_resampler *r);
76 struct pa_resampler { struct
117 pa_resampler* pa_resampler_new( argument
127 void pa_resampler_free(pa_resampler *r);
130 size_t pa_resampler_request(pa_resampler *r, size_t out_length);
133 size_t pa_resampler_result(pa_resampler *r, size_t in_length);
[all …]
Dresampler.c41 static int copy_init(pa_resampler *r);
43 static void setup_remap(const pa_resampler *r, pa_remap_t *m, bool *lfe_remixed);
46 static int (* const init_table[])(pa_resampler *r) = {
325 pa_resampler* pa_resampler_new( in pa_resampler_new()
335 pa_resampler *r = NULL; in pa_resampler_new()
348 r = pa_xnew0(pa_resampler, 1); in pa_resampler_new()
449 void pa_resampler_free(pa_resampler *r) { in pa_resampler_free()
474 void pa_resampler_set_input_rate(pa_resampler *r, uint32_t rate) { in pa_resampler_set_input_rate()
487 void pa_resampler_set_output_rate(pa_resampler *r, uint32_t rate) { in pa_resampler_set_output_rate()
503 size_t pa_resampler_request(pa_resampler *r, size_t out_length) { in pa_resampler_request()
[all …]
Dsource-output.h214 pa_resampler* resampler; /* may be NULL */
Dsink-input.h250 pa_resampler *resampler; /* may be NULL */
Dsource-output.c235 pa_resampler *resampler = NULL; in pa_source_output_new()
1760 pa_resampler *new_resampler; in pa_source_output_update_resampler()
Dsink-input.c298 pa_resampler *resampler = NULL; in pa_sink_input_new()
2297 pa_resampler *new_resampler; in pa_sink_input_update_resampler()
/third_party/pulseaudio/src/pulsecore/resampler/
Dlibsamplerate.c28 static unsigned libsamplerate_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_fra… in libsamplerate_resample()
59 static void libsamplerate_update_rates(pa_resampler *r) { in libsamplerate_update_rates()
67 static void libsamplerate_reset(pa_resampler *r) { in libsamplerate_reset()
75 static void libsamplerate_free(pa_resampler *r) { in libsamplerate_free()
84 int pa_resampler_libsamplerate_init(pa_resampler *r) { in pa_resampler_libsamplerate_init()
Dspeex.c57 static unsigned speex_resample_float(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frame… in speex_resample_float()
93 static unsigned speex_resample_int(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames,… in speex_resample_int()
119 static void speex_update_rates(pa_resampler *r) { in speex_update_rates()
128 static void speex_reset(pa_resampler *r) { in speex_reset()
137 static void speex_free(pa_resampler *r) { in speex_free()
148 int pa_resampler_speex_init(pa_resampler *r) { in pa_resampler_speex_init()
Dsoxr.c29 static unsigned resampler_soxr_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_fr… in resampler_soxr_resample()
56 static void resampler_soxr_free(pa_resampler *r) { in resampler_soxr_free()
66 static void resampler_soxr_reset(pa_resampler *r) { in resampler_soxr_reset()
91 static void resampler_soxr_update_rates(pa_resampler *r) { in resampler_soxr_update_rates()
111 int pa_resampler_soxr_init(pa_resampler *r) { in pa_resampler_soxr_init()
Dtrivial.c33 static unsigned trivial_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, p… in trivial_resample()
78 static void trivial_update_rates_or_reset(pa_resampler *r) { in trivial_update_rates_or_reset()
88 int pa_resampler_trivial_init(pa_resampler *r) { in pa_resampler_trivial_init()
Dffmpeg.c33 static unsigned ffmpeg_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa… in ffmpeg_resample()
100 static void ffmpeg_free(pa_resampler *r) { in ffmpeg_free()
110 int pa_resampler_ffmpeg_init(pa_resampler *r) { in pa_resampler_ffmpeg_init()
Dpeaks.c37 static unsigned peaks_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_… in peaks_resample()
137 static void peaks_update_rates_or_reset(pa_resampler *r) { in peaks_update_rates_or_reset()
147 int pa_resampler_peaks_init(pa_resampler*r) { in pa_resampler_peaks_init()
/third_party/pulseaudio/src/tests/
Dremix-test.c84 pa_resampler *r; in main()
Dresampler-test.c411 pa_resampler *resampler; in main()
444 pa_resampler *forth, *back; in main()
/third_party/pulseaudio/src/modules/
Dmodule-virtual-surround-sink.c610 pa_resampler *resampler; in pa__init()