aboutsummaryrefslogtreecommitdiffstats
path: root/src/volume.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/volume.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/volume.h b/src/volume.h
index 0db231ef6..66e7c43f0 100644
--- a/src/volume.h
+++ b/src/volume.h
@@ -36,4 +36,13 @@ read_sw_volume_state(const char *line);
void save_sw_volume_state(FILE *fp);
+/**
+ * Generates a hash number for the current state of the software
+ * volume control. This is used by timer_save_state_file() to
+ * determine whether the state has changed and the state file should
+ * be saved.
+ */
+unsigned
+sw_volume_state_get_hash(void);
+
#endif