mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 15:29:56 +00:00
ao_oss: don't enable -softvol by default on OSSv4
This commit is contained in:
parent
0cffd98e8e
commit
9db560b9a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user