summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_pulse.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-23 17:51:55 +0200
committerwm4 <wm4@nowhere>2017-04-23 17:51:55 +0200
commit809d160c1ec1c050d1877e66f93fcffc98fe4e83 (patch)
tree31debdb255910029316b30095215d4617358a0ca /audio/out/ao_pulse.c
parentf34de634501f0fd95ac6ea26b3ed643183222165 (diff)
downloadmpv-809d160c1ec1c050d1877e66f93fcffc98fe4e83.tar.bz2
mpv-809d160c1ec1c050d1877e66f93fcffc98fe4e83.tar.xz
options: remove remaining deprecated audio device selection options
Diffstat (limited to 'audio/out/ao_pulse.c')
-rw-r--r--audio/out/ao_pulse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c
index 6c6a517f2a..eb53b4604a 100644
--- a/audio/out/ao_pulse.c
+++ b/audio/out/ao_pulse.c
@@ -59,7 +59,6 @@ struct priv {
int wakeup_status;
char *cfg_host;
- char *cfg_sink;
int cfg_buffer;
int cfg_latency_hacks;
};
@@ -415,7 +414,7 @@ static int init(struct ao *ao)
pa_proplist *proplist = NULL;
pa_format_info *format = NULL;
struct priv *priv = ao->priv;
- char *sink = priv->cfg_sink && priv->cfg_sink[0] ? priv->cfg_sink : ao->device;
+ char *sink = ao->device;
if (pa_init_boilerplate(ao) < 0)
return -1;
@@ -836,7 +835,6 @@ const struct ao_driver audio_out_pulse = {
},
.options = (const struct m_option[]) {
OPT_STRING("host", cfg_host, 0),
- OPT_STRING("sink", cfg_sink, 0, DEVICE_OPT_DEPRECATION),
OPT_CHOICE_OR_INT("buffer", cfg_buffer, 0, 1, 2000, ({"native", 0})),
OPT_FLAG("latency-hacks", cfg_latency_hacks, 0),
{0}