summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-09 01:27:10 +0100
committerwm4 <wm4@nowhere>2013-11-09 01:30:00 +0100
commitd240aa367ed308fdfbc1f5c6419ef4b1281fd1df (patch)
tree923fdaa4772d14e483717532f903d81fb3140aa0 /audio/out/ao.c
parentebc4ccbbfaa41a54d27cd7717434c5e3f5050cf0 (diff)
downloadmpv-d240aa367ed308fdfbc1f5c6419ef4b1281fd1df.tar.bz2
mpv-d240aa367ed308fdfbc1f5c6419ef4b1281fd1df.tar.xz
ao_alsa: redo the way parameters are added in the spdif case
Using spdif with alsa requires adding magic parameters to the device name, and the existing code tried to deal with the situation when the user wanted to add parameters too. Rewrite this code, in particular remove the duplicated parameter string as preparation for the next commit. The new code is a bit stricter, e.g. it doesn't skip spaces before and after '{' and '}'. (Just don't add spaces.)
Diffstat (limited to 'audio/out/ao.c')
0 files changed, 0 insertions, 0 deletions