diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-04-09 21:06:10 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-04-11 03:50:33 +0300 |
commit | e29cb8f323031b32369bc2104ea1fd4422dd2945 (patch) | |
tree | 5fc5905fa066fb5abfab0d712589da711ffd0490 /mixer.h | |
parent | 87dad2a4704b2fb0f983d5cb665a065437288d35 (diff) | |
download | mpv-e29cb8f323031b32369bc2104ea1fd4422dd2945.tar.bz2 mpv-e29cb8f323031b32369bc2104ea1fd4422dd2945.tar.xz |
audio: restore balance setting after reinit
Restore the audio balance setting when the audio chain is
reinitialized (also after switching to another file).
Also add a note about the balance code being seriously buggy.
Diffstat (limited to 'mixer.h')
-rw-r--r-- | mixer.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ typedef struct mixer { /* Contains ao driver name or "softvol" if volume is not persistent * and needs to be restored after the driver is reinitialized. */ const char *restore_volume; + float balance; } mixer_t; void mixer_reinit(struct mixer *mixer, struct ao *ao); |