summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/resampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/resampler.h')
-rw-r--r--src/pulsecore/resampler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/resampler.h b/src/pulsecore/resampler.h
index 35f53db3..2a943e3e 100644
--- a/src/pulsecore/resampler.h
+++ b/src/pulsecore/resampler.h
@@ -45,6 +45,7 @@ typedef enum pa_resample_method {
PA_RESAMPLER_SPEEX_FLOAT_MAX = PA_RESAMPLER_SPEEX_FLOAT_BASE + 10,
PA_RESAMPLER_SPEEX_FIXED_BASE,
PA_RESAMPLER_SPEEX_FIXED_MAX = PA_RESAMPLER_SPEEX_FIXED_BASE + 10,
+ PA_RESAMPLER_FFMPEG,
PA_RESAMPLER_AUTO, /* automatic select based on sample format */
PA_RESAMPLER_MAX
} pa_resample_method_t;
@@ -55,7 +56,8 @@ pa_resampler* pa_resampler_new(
const pa_channel_map *am,
const pa_sample_spec *b,
const pa_channel_map *bm,
- pa_resample_method_t resample_method);
+ pa_resample_method_t resample_method,
+ int variable_rate);
void pa_resampler_free(pa_resampler *r);