From 8c5ebdff360021a25b43418d3cd60ea975f5e245 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Mar 2012 19:25:52 +0100 Subject: audio_format: remove the reverse_endian attribute Eliminate support for reverse endian samples from the MPD core. This moves a lot of complexity to the plugins that really need it (only ALSA and CDIO currently). --- src/pcm_pack.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/pcm_pack.h') diff --git a/src/pcm_pack.h b/src/pcm_pack.h index 6f275608c..f3184b403 100644 --- a/src/pcm_pack.h +++ b/src/pcm_pack.h @@ -37,11 +37,9 @@ * @param dest the destination buffer (array of triples) * @param src the source buffer * @param num_samples the number of samples to convert - * @param reverse_endian is src and dest in non-host byte order? */ void -pcm_pack_24(uint8_t *dest, const int32_t *src, const int32_t *src_end, - bool reverse_endian); +pcm_pack_24(uint8_t *dest, const int32_t *src, const int32_t *src_end); /** * Converts packed 24 bit samples (3 bytes per sample) to padded 24 @@ -50,10 +48,8 @@ pcm_pack_24(uint8_t *dest, const int32_t *src, const int32_t *src_end, * @param dest the destination buffer * @param src the source buffer (array of triples) * @param num_samples the number of samples to convert - * @param reverse_endian is src and dest in non-host byte order? */ void -pcm_unpack_24(int32_t *dest, const uint8_t *src, const uint8_t *src_end, - bool reverse_endian); +pcm_unpack_24(int32_t *dest, const uint8_t *src, const uint8_t *src_end); #endif -- cgit v1.2.3