ALSA:re-ordered the speaker mapping to ALSA standards.

This commit is contained in:
Mark-Willem Jansen 2010-10-11 21:47:15 +02:00 committed by Thorvald Natvig
parent d84fa5d7fc
commit 45ea514008

View File

@ -503,13 +503,12 @@ void ALSAAudioOutput::run() {
const unsigned int chanmasks[32] = {
SPEAKER_FRONT_LEFT,
SPEAKER_FRONT_RIGHT,
SPEAKER_FRONT_CENTER,
SPEAKER_LOW_FREQUENCY,
SPEAKER_BACK_LEFT,
SPEAKER_BACK_RIGHT,
SPEAKER_FRONT_CENTER,
SPEAKER_LOW_FREQUENCY,
SPEAKER_SIDE_LEFT,
SPEAKER_SIDE_RIGHT,
SPEAKER_BACK_CENTER
SPEAKER_SIDE_RIGHT
};
ALSA_ERRBAIL(snd_pcm_hw_params_current(pcm_handle, hw_params));