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_sndio.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_sndio.c')
-rw-r--r-- | audio/out/ao_sndio.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c index e0fd9f0296..d9ac4ef7e4 100644 --- a/audio/out/ao_sndio.c +++ b/audio/out/ao_sndio.c @@ -122,9 +122,9 @@ static int init(struct ao *ao) const struct af_to_par *ap; int i; - p->hdl = sio_open(p->dev, SIO_PLAY, 0); + p->hdl = sio_open(SIO_DEVANY, SIO_PLAY, 0); if (p->hdl == NULL) { - MP_ERR(ao, "can't open sndio %s\n", p->dev); + MP_ERR(ao, "can't open sndio %s\n", SIO_DEVANY); goto error; } @@ -319,10 +319,4 @@ const struct ao_driver audio_out_sndio = { .resume = audio_resume, .reset = reset, .priv_size = sizeof(struct priv), - .options = (const struct m_option[]) { - OPT_STRING("device", dev, 0, OPTDEF_STR(SIO_DEVANY), - DEVICE_OPT_DEPRECATION), - {0} - }, - .options_prefix = "ao-sndio", }; |