summaryrefslogtreecommitdiffstats
path: root/libao2/ao_dsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_dsound.c')
-rw-r--r--libao2/ao_dsound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libao2/ao_dsound.c b/libao2/ao_dsound.c
index 605b0f16e0..a7d30ec357 100644
--- a/libao2/ao_dsound.c
+++ b/libao2/ao_dsound.c
@@ -418,6 +418,8 @@ static int init(int rate, int channels, int format, int flags)
int res;
if (!InitDirectSound()) return 0;
+ global_ao->no_persistent_volume = true;
+
// ok, now create the buffers
WAVEFORMATEXTENSIBLE wformat;
DSBUFFERDESC dsbpridesc;