Fixed the syntax of the spdif device string.

Thanks to Takashi Iwai for the hint.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14607 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-01-28 10:12:28 +00:00
parent efab53785a
commit 20817ae85e
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ static int init(int rate_hz, int channels, int format, int flags)
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;