From e29cb8f323031b32369bc2104ea1fd4422dd2945 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 9 Apr 2012 21:06:10 +0300 Subject: 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. --- mixer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mixer.h') diff --git a/mixer.h b/mixer.h index fc5b6c1e71..e626237539 100644 --- a/mixer.h +++ b/mixer.h @@ -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); -- cgit v1.2.3