diff options
author | Max Kellermann <max@duempel.org> | 2011-10-19 22:06:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-10-19 22:14:43 +0200 |
commit | 9716c3a30ea9d01a297a1ffc52f95049054c707c (patch) | |
tree | be754b52cc066638567a0decfae2e26c93568327 /src/pcm_resample_fallback.c | |
parent | c4c44c4445a8c3ac148805d9c2ef61e2a6d8554a (diff) | |
download | mpd-9716c3a30ea9d01a297a1ffc52f95049054c707c.tar.gz mpd-9716c3a30ea9d01a297a1ffc52f95049054c707c.tar.xz mpd-9716c3a30ea9d01a297a1ffc52f95049054c707c.zip |
pcm_{channels,resample}: pass channel count as integer, not uint8_t
Reduces number of implicit integer conversions.
Diffstat (limited to 'src/pcm_resample_fallback.c')
-rw-r--r-- | src/pcm_resample_fallback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_resample_fallback.c b/src/pcm_resample_fallback.c index b4d9d010f..1d1dfdf59 100644 --- a/src/pcm_resample_fallback.c +++ b/src/pcm_resample_fallback.c @@ -37,7 +37,7 @@ pcm_resample_fallback_deinit(struct pcm_resample_state *state) /* resampling code blatantly ripped from ESD */ const int16_t * pcm_resample_fallback_16(struct pcm_resample_state *state, - uint8_t channels, + unsigned channels, unsigned src_rate, const int16_t *src_buffer, size_t src_size, unsigned dest_rate, @@ -78,7 +78,7 @@ pcm_resample_fallback_16(struct pcm_resample_state *state, const int32_t * pcm_resample_fallback_32(struct pcm_resample_state *state, - uint8_t channels, + unsigned channels, unsigned src_rate, const int32_t *src_buffer, size_t src_size, unsigned dest_rate, |