aboutsummaryrefslogtreecommitdiffstats
path: root/src/volume.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume.c')
-rw-r--r--src/volume.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/volume.c b/src/volume.c
index 5f4a66837..8b33f592d 100644
--- a/src/volume.c
+++ b/src/volume.c
@@ -122,3 +122,9 @@ void save_sw_volume_state(FILE *fp)
{
fprintf(fp, SW_VOLUME_STATE "%u\n", volume_software_set);
}
+
+unsigned
+sw_volume_state_get_hash(void)
+{
+ return volume_software_set;
+}