diff options
author | Max Kellermann <max@duempel.org> | 2008-10-23 20:04:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-23 20:04:37 +0200 |
commit | 8489e90c1e8d275aabf891c2659a5cb59e5037b4 (patch) | |
tree | 13fcc1ace1eeeccf7f755f1f8fb8bd6036bd3856 /src/pcm_channels.h | |
parent | a0bcbb37f45d6bed7f84e53da567ee485fc9669d (diff) | |
download | mpd-8489e90c1e8d275aabf891c2659a5cb59e5037b4.tar.gz mpd-8489e90c1e8d275aabf891c2659a5cb59e5037b4.tar.xz mpd-8489e90c1e8d275aabf891c2659a5cb59e5037b4.zip |
pcm_channels: added 24 bit implementations
The 24 bit implementation is mostly copy'n'paste of the 16 bit
version, except that the data type is int32_t instead of int16_t.
Diffstat (limited to '')
-rw-r--r-- | src/pcm_channels.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pcm_channels.h b/src/pcm_channels.h index 169fd3693..fa27fdb8f 100644 --- a/src/pcm_channels.h +++ b/src/pcm_channels.h @@ -27,4 +27,9 @@ pcm_convert_channels_16(int8_t dest_channels, int8_t src_channels, const int16_t *src, size_t src_size, size_t *dest_size_r); +const int32_t * +pcm_convert_channels_24(int8_t dest_channels, + int8_t src_channels, const int32_t *src, + size_t src_size, size_t *dest_size_r); + #endif |