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).
This commit is contained in:
Max Kellermann
2012-03-21 19:25:52 +01:00
parent 1c84f324a1
commit 8c5ebdff36
14 changed files with 22 additions and 112 deletions

View File

@@ -45,7 +45,7 @@ test_pcm_pack_24(void)
uint8_t dest[N * 3];
pcm_pack_24(dest, src, src + N, false);
pcm_pack_24(dest, src, src + N);
for (unsigned i = 0; i < N; ++i) {
int32_t d;
@@ -72,7 +72,7 @@ test_pcm_unpack_24(void)
int32_t dest[N];
pcm_unpack_24(dest, src, src + G_N_ELEMENTS(src), false);
pcm_unpack_24(dest, src, src + G_N_ELEMENTS(src));
for (unsigned i = 0; i < N; ++i) {
int32_t s;