Use native endian. Now Alsa works for powerpc linux.

This commit is contained in:
Steve Checkoway
2006-06-29 03:22:29 +00:00
parent 7e3622464a
commit a2dca95d01
+2 -2
View File
@@ -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. */