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
+1 -3
View File
@@ -314,10 +314,8 @@ alsa_output_try_reverse(snd_pcm_t *pcm, snd_pcm_hw_params_t *hwparams,
return -EINVAL;
int err = snd_pcm_hw_params_set_format(pcm, hwparams, alsa_format);
if (err == 0) {
if (err == 0)
audio_format->format = sample_format;
audio_format->reverse_endian = true;
}
return err;
}