aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-28 10:12:28 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-28 10:12:28 +0000
commit20817ae85ed85a79a4436699aebf6fd843b83242 (patch)
tree7adaef2254cc495013b8a282bfb8bca0ce6cd30a /libao2
parentefab53785a695221c803fa21db3cf5a3bc68a784 (diff)
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
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c
index 81a81b019c..2bc0411ba2 100644
--- a/libao2/ao_alsa.c
+++ b/libao2/ao_alsa.c
@@ -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;