Mercurial > mplayer.hg
diff libao2/ao_alsa.c @ 14606:1182e96d172f
Fixed the syntax of the spdif device string.
Thanks to Takashi Iwai for the hint.
author | reimar |
---|---|
date | Fri, 28 Jan 2005 10:12:28 +0000 |
parents | fb9bf2e782a9 |
children | 4825fb5a45b9 |
line wrap: on
line diff
--- a/libao2/ao_alsa.c Fri Jan 28 06:57:50 2005 +0000 +++ b/libao2/ao_alsa.c Fri Jan 28 10:12:28 2005 +0000 @@ -379,7 +379,7 @@ s[3] = IEC958_AES3_CON_FS_48000; snprintf(alsa_device, ALSA_DEVICE_SIZE, - "iec958:AES0=0x%x,AES1=0x%x,AES2=0x%x,AES3=0x%x", + "iec958:{CARD 0 AES0 0x%2x AES1 0x%2x AES2 0x%2x AES3 0x%2x}", s[0], s[1], s[2], s[3]); device.str = alsa_device;