Mercurial > mplayer.hg
changeset 29392:cd3ec59296a0
Use correct ALSA sample format for 24-bit samples packed in three bytes.
author | cladisch |
---|---|
date | Tue, 21 Jul 2009 08:20:22 +0000 |
parents | e69a1d754130 |
children | 853373376acb |
files | libao2/ao_alsa.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_alsa.c Sun Jul 19 21:24:45 2009 +0000 +++ b/libao2/ao_alsa.c Tue Jul 21 08:20:22 2009 +0000 @@ -393,16 +393,16 @@ alsa_format = SND_PCM_FORMAT_S32_BE; break; case AF_FORMAT_U24_LE: - alsa_format = SND_PCM_FORMAT_U24_LE; + alsa_format = SND_PCM_FORMAT_U24_3LE; break; case AF_FORMAT_U24_BE: - alsa_format = SND_PCM_FORMAT_U24_BE; + alsa_format = SND_PCM_FORMAT_U24_3BE; break; case AF_FORMAT_S24_LE: - alsa_format = SND_PCM_FORMAT_S24_LE; + alsa_format = SND_PCM_FORMAT_S24_3LE; break; case AF_FORMAT_S24_BE: - alsa_format = SND_PCM_FORMAT_S24_BE; + alsa_format = SND_PCM_FORMAT_S24_3BE; break; case AF_FORMAT_FLOAT_LE: alsa_format = SND_PCM_FORMAT_FLOAT_LE;