From 809d160c1ec1c050d1877e66f93fcffc98fe4e83 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 23 Apr 2017 17:51:55 +0200 Subject: options: remove remaining deprecated audio device selection options --- audio/out/ao_rsound.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'audio/out/ao_rsound.c') diff --git a/audio/out/ao_rsound.c b/audio/out/ao_rsound.c index 9689a9e0b8..4140716bc0 100644 --- a/audio/out/ao_rsound.c +++ b/audio/out/ao_rsound.c @@ -36,8 +36,6 @@ struct priv { rsound_t *rd; - char *host; - char *port; }; static int set_format(struct ao *ao) @@ -66,12 +64,6 @@ static int init(struct ao *ao) if (rsd_init(&priv->rd) < 0) return -1; - if (priv->host && priv->host[0]) - rsd_set_param(priv->rd, RSD_HOST, priv->host); - - if (priv->port && priv->port[0]) - rsd_set_param(priv->rd, RSD_PORT, priv->port); - // Actual channel layout unknown. struct mp_chmap_sel sel = {0}; mp_chmap_sel_add_waveext_def(&sel); @@ -155,13 +147,5 @@ const struct ao_driver audio_out_rsound = { .pause = audio_pause, .resume = audio_resume, .priv_size = sizeof(struct priv), - .options = (const struct m_option[]) { - OPT_STRING("host", host, 0, - .deprecation_message = "request --audio-device support on issue tracker"), - OPT_STRING("port", port, 0, - .deprecation_message = "request --audio-device support on issue tracker"), - {0} - }, - .options_prefix = "rsound", }; -- cgit v1.2.3