From d1cbff37be885108808c27311d79422dc0cb4a7f Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 18 Dec 2015 21:11:42 -0800 Subject: ao_wasapi: remove volume "restore" on exit It was complicated and not even very intuitive to the user. If you are controlling the master volume, you just have to be prepared to deal with the consequences. --- audio/out/ao_wasapi.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'audio/out/ao_wasapi.h') diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h index 2fbd2d5a9c..c61ba8e4d3 100755 --- a/audio/out/ao_wasapi.h +++ b/audio/out/ao_wasapi.h @@ -59,9 +59,6 @@ typedef struct wasapi_state { /* volume control */ DWORD vol_hw_support; - float audio_volume; - float previous_volume; - float initial_volume; /* WASAPI handles, owned by audio thread */ IMMDevice *pDevice; -- cgit v1.2.3