diff options
author | wm4 <wm4@nowhere> | 2017-04-23 17:51:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-23 17:51:55 +0200 |
commit | 809d160c1ec1c050d1877e66f93fcffc98fe4e83 (patch) | |
tree | 31debdb255910029316b30095215d4617358a0ca /audio/out/ao_rsound.c | |
parent | f34de634501f0fd95ac6ea26b3ed643183222165 (diff) | |
download | mpv-809d160c1ec1c050d1877e66f93fcffc98fe4e83.tar.bz2 mpv-809d160c1ec1c050d1877e66f93fcffc98fe4e83.tar.xz |
options: remove remaining deprecated audio device selection options
Diffstat (limited to 'audio/out/ao_rsound.c')
-rw-r--r-- | audio/out/ao_rsound.c | 16 |
1 files changed, 0 insertions, 16 deletions
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", }; |