summaryrefslogtreecommitdiffstats
path: root/audio/mixer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-08 23:52:58 +0200
committerwm4 <wm4@nowhere>2014-06-08 23:52:58 +0200
commitda89af10768f75ceec9b9c0256649da6f4d843a2 (patch)
treea8f593ba7df6da4e6d70d10039ff55d475d48662 /audio/mixer.h
parentcc74bc3fecd9d44d62ff162394cff02ad436a9cc (diff)
downloadmpv-da89af10768f75ceec9b9c0256649da6f4d843a2.tar.bz2
mpv-da89af10768f75ceec9b9c0256649da6f4d843a2.tar.xz
player: show "neutral" position markers for OSD bars
This commit implements them for volume and some video properties.
Diffstat (limited to 'audio/mixer.h')
-rw-r--r--audio/mixer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/mixer.h b/audio/mixer.h
index d5ec07e9ba..1716401dd5 100644
--- a/audio/mixer.h
+++ b/audio/mixer.h
@@ -45,6 +45,7 @@ void mixer_setmute(struct mixer *mixer, bool mute);
bool mixer_getmute(struct mixer *mixer);
void mixer_getbalance(struct mixer *mixer, float *bal);
void mixer_setbalance(struct mixer *mixer, float bal);
+float mixer_getneutralvolume(struct mixer *mixer);
char *mixer_get_volume_restore_data(struct mixer *mixer);
#endif /* MPLAYER_MIXER_H */