summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-30 23:58:21 +0200
committerwm4 <wm4@nowhere>2014-06-14 14:07:23 +0200
commit9de0db208d0f4f8954f902591fa82d030b07ca9a (patch)
treeaf13e79043bf8db8e8afd3fe6a265383fac71524 /audio
parentd52c491fec6cc27e54cd94f3fe5aa5f0c5888612 (diff)
downloadmpv-9de0db208d0f4f8954f902591fa82d030b07ca9a.tar.bz2
mpv-9de0db208d0f4f8954f902591fa82d030b07ca9a.tar.xz
ao_alsa: make device the first sub option
This is more convenient.
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c
index d98bc861b8..233bdecd85 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -724,8 +724,8 @@ const struct ao_driver audio_out_alsa = {
.cfg_mixer_index = 0,
},
.options = (const struct m_option[]) {
- OPT_FLAG("resample", cfg_resample, 0),
OPT_STRING("device", cfg_device, 0),
+ OPT_FLAG("resample", cfg_resample, 0),
OPT_FLAG("block", cfg_block, 0),
OPT_STRING("mixer-device", cfg_mixer_device, 0),
OPT_STRING("mixer-name", cfg_mixer_name, 0),