summaryrefslogtreecommitdiffstats
path: root/src/pavucontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pavucontrol.h')
-rw-r--r--src/pavucontrol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pavucontrol.h b/src/pavucontrol.h
index 4e3d32e..1ef2519 100644
--- a/src/pavucontrol.h
+++ b/src/pavucontrol.h
@@ -34,6 +34,11 @@
#define GLADE_FILE "pavucontrol.glade"
#endif
+/* Can be removed when PulseAudio 0.9.23 or newer is required */
+#ifndef PA_VOLUME_UI_MAX
+# define PA_VOLUME_UI_MAX (pa_sw_volume_from_dB(+11.0))
+#endif
+
enum SinkInputType {
SINK_INPUT_ALL,
SINK_INPUT_CLIENT,