diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-12-18 21:11:42 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-12-20 03:30:28 -0800 |
commit | d1cbff37be885108808c27311d79422dc0cb4a7f (patch) | |
tree | d87fef09e7d0f8cf9e5e77acea8c43995302b093 /audio/out/ao_wasapi.h | |
parent | aa5f04c7a0b1f809f47a3aef48654a9b8788e8cb (diff) | |
download | mpv-d1cbff37be885108808c27311d79422dc0cb4a7f.tar.bz2 mpv-d1cbff37be885108808c27311d79422dc0cb4a7f.tar.xz |
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.
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rwxr-xr-x | audio/out/ao_wasapi.h | 3 |
1 files changed, 0 insertions, 3 deletions
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; |