From 8489e90c1e8d275aabf891c2659a5cb59e5037b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Oct 2008 20:04:37 +0200 Subject: 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. --- src/pcm_channels.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pcm_channels.h') 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 -- cgit v1.2.3