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.
This commit is contained in:
Max Kellermann
2008-10-23 20:04:37 +02:00
parent a0bcbb37f4
commit 8489e90c1e
2 changed files with 84 additions and 0 deletions

View File

@@ -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