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/sconv-s16le.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/sconv-s16le.c')
-rw-r--r-- | polyp/sconv-s16le.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/sconv-s16le.c b/polyp/sconv-s16le.c index 2fbcbf31..49c47461 100644 --- a/polyp/sconv-s16le.c +++ b/polyp/sconv-s16le.c @@ -38,7 +38,7 @@ #define INT16_TO INT16_TO_LE #endif -void pa_sconv_s16le_to_float32(unsigned n, const void *a, unsigned an, float *b) { +void pa_sconv_s16le_to_float32ne(unsigned n, const void *a, unsigned an, float *b) { const int16_t *ca = a; assert(n && a && an && b); @@ -60,7 +60,7 @@ void pa_sconv_s16le_to_float32(unsigned n, const void *a, unsigned an, float *b) } } -void pa_sconv_s16le_from_float32(unsigned n, const float *a, void *b, unsigned bn) { +void pa_sconv_s16le_from_float32ne(unsigned n, const float *a, void *b, unsigned bn) { int16_t *cb = b; /* pa_log("%u %p %p %u\n", n, a, b, bn); */ |