From 9db560b9a99b6b04a4e4b03017ef400fa54216d7 Mon Sep 17 00:00:00 2001 From: bugmen0t <@> Date: Mon, 4 Nov 2013 21:12:06 +0000 Subject: ao_oss: don't enable -softvol by default on OSSv4 --- audio/out/ao_oss.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio') diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c index efede703c2..9085d05e5b 100644 --- a/audio/out/ao_oss.c +++ b/audio/out/ao_oss.c @@ -196,6 +196,10 @@ static int init(struct ao *ao) struct priv *p = ao->priv; int oss_format; +#ifdef SNDCTL_DSP_GETPLAYVOL + ao->no_persistent_volume = true; +#endif + const char *mchan = NULL; if (p->cfg_oss_mixer_channel && p->cfg_oss_mixer_channel[0]) mchan = p->cfg_oss_mixer_channel; -- cgit v1.2.3