diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-11-20 16:23:53 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-11-20 16:23:53 +0000 |
commit | 5f647c8fef33f35210d550ad1477ef43520b32a3 (patch) | |
tree | c6eb28bbbca0966dede1d7635f67b471fef06924 /polyp/util.c | |
parent | 8641af3c6d11e3e6710cb946e9a93d0e9f639519 (diff) |
* add µlaw/alaw support
* abstracted resampler API
* add integer-only resampler ("trivial")
* show used resampler wherever useful
* add mixing/volume adjusting for float32ne and u8
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@294 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/util.c')
-rw-r--r-- | polyp/util.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/polyp/util.c b/polyp/util.c index e8a47df0..23515f03 100644 --- a/polyp/util.c +++ b/polyp/util.c @@ -530,23 +530,6 @@ const char *pa_strsignal(int sig) { } } -/* Parse a libsamplrate compatible resampling implementation */ -int pa_parse_resample_method(const char *string) { - assert(string); - - if (!strcmp(string, "sinc-best-quality")) - return SRC_SINC_BEST_QUALITY; - else if (!strcmp(string, "sinc-medium-quality")) - return SRC_SINC_MEDIUM_QUALITY; - else if (!strcmp(string, "sinc-fastest")) - return SRC_SINC_FASTEST; - else if (!strcmp(string, "zero-order-hold")) - return SRC_ZERO_ORDER_HOLD; - else if (!strcmp(string, "linear")) - return SRC_LINEAR; - else - return -1; -} /* Check whether the specified GID and the group name match */ static int is_group(gid_t gid, const char *name) { |