summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-30 23:58:21 +0200
committerwm4 <wm4@nowhere>2014-05-31 01:40:12 +0200
commit9f6e8d64de18d6bc57ee3338d6b900d669f35c0b (patch)
treea2a73fc8a2999111be2c870dc2ad4af3f0451415 /audio/out
parent4fa3ffebfe41b0c4ffed6f952cc05a7c275275f4 (diff)
downloadmpv-9f6e8d64de18d6bc57ee3338d6b900d669f35c0b.tar.bz2
mpv-9f6e8d64de18d6bc57ee3338d6b900d669f35c0b.tar.xz
ao_alsa: make device the first sub option
This is more convenient.
Diffstat (limited to 'audio/out')
-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 081f9efebf..8bdf5e635c 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -757,8 +757,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),