diff options
-rw-r--r-- | audio/out/ao_oss.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |