mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 11:18:32 +00:00
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:
parent
efab53785a
commit
20817ae85e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user