summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_alsa.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-05 21:07:30 +0200
committerwm4 <wm4@nowhere>2016-09-05 21:26:39 +0200
commit13786dc643fe250a9560792ef342751585ea15e9 (patch)
tree90c76da55639d200558d9372e507da72684194a9 /audio/out/ao_alsa.c
parent69283bc0f8905e7748343f2c5389791f858a5f4c (diff)
downloadmpv-13786dc643fe250a9560792ef342751585ea15e9.tar.bz2
mpv-13786dc643fe250a9560792ef342751585ea15e9.tar.xz
audio/out: deprecate device sub-options
We have --audio-device, which can force the device. Also add something describing to this extent to the manpage.
Diffstat (limited to 'audio/out/ao_alsa.c')
-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 c542bee030..4d879b1565 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -62,7 +62,7 @@ struct ao_alsa_opts {
#define OPT_BASE_STRUCT struct ao_alsa_opts
static const struct m_sub_options ao_alsa_conf = {
.opts = (const struct m_option[]) {
- OPT_STRING("alsa-device", device, 0),
+ OPT_STRING("alsa-device", device, 0, DEVICE_OPT_DEPRECATION),
OPT_FLAG("alsa-resample", resample, 0),
OPT_STRING("alsa-mixer-device", mixer_device, 0),
OPT_STRING("alsa-mixer-name", mixer_name, 0),