summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-05 21:07:03 +0200
committerwm4 <wm4@nowhere>2016-09-05 21:26:39 +0200
commit69283bc0f8905e7748343f2c5389791f858a5f4c (patch)
tree7c5b4c004dabb40d55e30f28cb900801f78a46fd /audio
parent633eb30cbe0e52879443633760e9460fe5bdcdfa (diff)
downloadmpv-69283bc0f8905e7748343f2c5389791f858a5f4c.tar.bz2
mpv-69283bc0f8905e7748343f2c5389791f858a5f4c.tar.xz
options: deprecate suboptions for the remaining AO/VOs
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_coreaudio.c1
-rw-r--r--audio/out/ao_null.c1
-rw-r--r--audio/out/ao_openal.c1
-rw-r--r--audio/out/ao_opensles.c1
-rw-r--r--audio/out/ao_oss.c1
-rw-r--r--audio/out/ao_pcm.c1
-rw-r--r--audio/out/ao_pulse.c1
-rw-r--r--audio/out/ao_rsound.c1
-rw-r--r--audio/out/ao_sdl.c1
-rw-r--r--audio/out/ao_sndio.c1
-rw-r--r--audio/out/ao_wasapi.c1
11 files changed, 11 insertions, 0 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c
index fbbacde714..1300489084 100644
--- a/audio/out/ao_coreaudio.c
+++ b/audio/out/ao_coreaudio.c
@@ -430,4 +430,5 @@ const struct ao_driver audio_out_coreaudio = {
OPT_FLAG("exclusive", exclusive, 0),
{0}
},
+ .legacy_prefix = "coreaudio",
};
diff --git a/audio/out/ao_null.c b/audio/out/ao_null.c
index ac3f8348b5..7c0c745b12 100644
--- a/audio/out/ao_null.c
+++ b/audio/out/ao_null.c
@@ -241,4 +241,5 @@ const struct ao_driver audio_out_null = {
OPT_CHANNELS("channel-layouts", channel_layouts, 0),
{0}
},
+ .legacy_prefix = "ao-null",
};
diff --git a/audio/out/ao_openal.c b/audio/out/ao_openal.c
index 72e8799e00..41a1a03194 100644
--- a/audio/out/ao_openal.c
+++ b/audio/out/ao_openal.c
@@ -359,4 +359,5 @@ const struct ao_driver audio_out_openal = {
OPT_STRING_VALIDATE("device", cfg_device, 0, validate_device_opt),
{0}
},
+ .legacy_prefix = "ao-openal",
};
diff --git a/audio/out/ao_opensles.c b/audio/out/ao_opensles.c
index 2ce7b01552..dd20dbf1d0 100644
--- a/audio/out/ao_opensles.c
+++ b/audio/out/ao_opensles.c
@@ -246,4 +246,5 @@ const struct ao_driver audio_out_opensles = {
OPT_INTRANGE("sample-rate", cfg_sample_rate, 0, 1000, 100000),
{0}
},
+ .legacy_prefix = "opensles",
};
diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c
index 90d3b3e5c5..cd08a046f7 100644
--- a/audio/out/ao_oss.c
+++ b/audio/out/ao_oss.c
@@ -653,4 +653,5 @@ const struct ao_driver audio_out_oss = {
OPT_STRING("mixer-channel", cfg_oss_mixer_channel, 0),
{0}
},
+ .legacy_prefix = "oss",
};
diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c
index c26f614f2d..535b77642d 100644
--- a/audio/out/ao_pcm.c
+++ b/audio/out/ao_pcm.c
@@ -226,4 +226,5 @@ const struct ao_driver audio_out_pcm = {
OPT_FLAG("append", append, 0),
{0}
},
+ .legacy_prefix = "ao-pcm",
};
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c
index fc0dd0d008..6eedea2b07 100644
--- a/audio/out/ao_pulse.c
+++ b/audio/out/ao_pulse.c
@@ -841,4 +841,5 @@ const struct ao_driver audio_out_pulse = {
OPT_FLAG("latency-hacks", cfg_latency_hacks, 0),
{0}
},
+ .legacy_prefix = "pulse",
};
diff --git a/audio/out/ao_rsound.c b/audio/out/ao_rsound.c
index 5379e73a72..8b80ddf1da 100644
--- a/audio/out/ao_rsound.c
+++ b/audio/out/ao_rsound.c
@@ -160,5 +160,6 @@ const struct ao_driver audio_out_rsound = {
OPT_STRING("port", port, 0),
{0}
},
+ .legacy_prefix = "rsound",
};
diff --git a/audio/out/ao_sdl.c b/audio/out/ao_sdl.c
index 627a1098cf..d9d00628b6 100644
--- a/audio/out/ao_sdl.c
+++ b/audio/out/ao_sdl.c
@@ -212,4 +212,5 @@ const struct ao_driver audio_out_sdl = {
OPT_FLOAT("buflen", buflen, 0),
{0}
},
+ .legacy_prefix = "sdl",
};
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c
index e9df269f90..c53e01cb9e 100644
--- a/audio/out/ao_sndio.c
+++ b/audio/out/ao_sndio.c
@@ -323,4 +323,5 @@ const struct ao_driver audio_out_sndio = {
OPT_STRING("device", dev, 0, OPTDEF_STR(SIO_DEVANY)),
{0}
},
+ .legacy_prefix = "ao-sndio",
};
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 325a7cf72b..7cdde49ce9 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -499,4 +499,5 @@ const struct ao_driver audio_out_wasapi = {
OPT_STRING("device", opt_device, 0),
{NULL},
},
+ .legacy_prefix = "ao-wasapi",
};