summaryrefslogtreecommitdiffstats
path: root/audio/out/internal.h
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/internal.h
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/internal.h')
-rw-r--r--audio/out/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h
index 3115fbfeb7..fdbb423f52 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -206,4 +206,7 @@ bool ao_chmap_sel_get_def(struct ao *ao, const struct mp_chmap_sel *s,
void ao_device_list_add(struct ao_device_list *list, struct ao *ao,
struct ao_device_desc *e);
+#define DEVICE_OPT_DEPRECATION \
+ .deprecation_message = "use --audio-device instead"
+
#endif