diff options
author | wm4 <wm4@nowhere> | 2016-09-05 21:07:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-05 21:26:39 +0200 |
commit | 13786dc643fe250a9560792ef342751585ea15e9 (patch) | |
tree | 90c76da55639d200558d9372e507da72684194a9 /audio/out/ao_sndio.c | |
parent | 69283bc0f8905e7748343f2c5389791f858a5f4c (diff) | |
download | mpv-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_sndio.c')
-rw-r--r-- | audio/out/ao_sndio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c index c53e01cb9e..f60fa303e5 100644 --- a/audio/out/ao_sndio.c +++ b/audio/out/ao_sndio.c @@ -320,7 +320,8 @@ const struct ao_driver audio_out_sndio = { .reset = reset, .priv_size = sizeof(struct priv), .options = (const struct m_option[]) { - OPT_STRING("device", dev, 0, OPTDEF_STR(SIO_DEVANY)), + OPT_STRING("device", dev, 0, OPTDEF_STR(SIO_DEVANY), + DEVICE_OPT_DEPRECATION), {0} }, .legacy_prefix = "ao-sndio", |