summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/resampler.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-11-11 02:30:59 +0000
committerLennart Poettering <lennart@poettering.net>2007-11-11 02:30:59 +0000
commitf873a2a22441d5eaacc5cbb502cbde829ee30a73 (patch)
tree6896f25d84c7a9c2cafd4bc12f7907548c636ad5 /src/pulsecore/resampler.h
parente313fe1b3d0d9f9945c41c151d72edbe9cf1ec54 (diff)
add a simple fully-automatic fully-linearupmixer/downmixer and enable it by default
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2044 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/resampler.h')
-rw-r--r--src/pulsecore/resampler.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pulsecore/resampler.h b/src/pulsecore/resampler.h
index 23e1acb7..778c738d 100644
--- a/src/pulsecore/resampler.h
+++ b/src/pulsecore/resampler.h
@@ -49,6 +49,12 @@ typedef enum pa_resample_method {
PA_RESAMPLER_MAX
} pa_resample_method_t;
+typedef enum pa_resample_flags {
+ PA_RESAMPLER_VARIABLE_RATE = 1,
+ PA_RESAMPLER_NO_REMAP = 2, /* implies NO_REMIX */
+ PA_RESAMPLER_NO_REMIX = 4
+} pa_resample_flags_t;
+
pa_resampler* pa_resampler_new(
pa_mempool *pool,
const pa_sample_spec *a,
@@ -56,7 +62,7 @@ pa_resampler* pa_resampler_new(
const pa_sample_spec *b,
const pa_channel_map *bm,
pa_resample_method_t resample_method,
- int variable_rate);
+ pa_resample_flags_t flags);
void pa_resampler_free(pa_resampler *r);