From a2dca95d01844646cbd312e54490cbda363f16f4 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 29 Jun 2006 03:22:29 +0000 Subject: [PATCH] Use native endian. Now Alsa works for powerpc linux. --- stepmania/src/arch/Sound/ALSA9Helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/ALSA9Helpers.cpp b/stepmania/src/arch/Sound/ALSA9Helpers.cpp index e58f24f75b..086c59cfed 100644 --- a/stepmania/src/arch/Sound/ALSA9Helpers.cpp +++ b/stepmania/src/arch/Sound/ALSA9Helpers.cpp @@ -52,8 +52,8 @@ bool Alsa9Buf::SetHWParams() err = dsnd_pcm_hw_params_set_access(pcm, hwparams, SND_PCM_ACCESS_MMAP_INTERLEAVED); ALSA_CHECK("dsnd_pcm_hw_params_set_access"); - /* Set the PCM format: signed 16bit, little endian. */ - err = dsnd_pcm_hw_params_set_format(pcm, hwparams, SND_PCM_FORMAT_S16_LE); + /* Set the PCM format: signed 16bit, native endian. */ + err = dsnd_pcm_hw_params_set_format(pcm, hwparams, SND_PCM_FORMAT_S16); ALSA_CHECK("dsnd_pcm_hw_params_set_format"); /* Set the number of channels. */