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_sndio.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'audio/out/ao_sndio.c') 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", }; -- cgit v1.2.3