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_oss.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_oss.c')
-rw-r--r-- | audio/out/ao_oss.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c index 7e73644b8f..aee4357075 100644 --- a/audio/out/ao_oss.c +++ b/audio/out/ao_oss.c @@ -70,7 +70,6 @@ struct priv { bool device_failed; double audio_end; - char *dsp; char *oss_mixer_device; char *cfg_oss_mixer_channel; }; @@ -282,8 +281,6 @@ static int reopen_device(struct ao *ao, bool allow_format_changes) const char *device = PATH_DEV_DSP; if (ao->device) device = ao->device; - if (p->dsp && p->dsp[0]) - device = p->dsp; MP_VERBOSE(ao, "using '%s' dsp device\n", device); #ifdef __linux__ @@ -652,7 +649,6 @@ const struct ao_driver audio_out_oss = { .oss_mixer_device = PATH_DEV_MIXER, }, .options = (const struct m_option[]) { - OPT_STRING("device", dsp, 0, DEVICE_OPT_DEPRECATION), OPT_STRING("mixer-device", oss_mixer_device, 0), OPT_STRING("mixer-channel", cfg_oss_mixer_channel, 0), {0} |