aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_state.h')
-rw-r--r--src/output_state.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output_state.h b/src/output_state.h
index 1efae94a1..3b865f5fe 100644
--- a/src/output_state.h
+++ b/src/output_state.h
@@ -34,4 +34,12 @@ audio_output_state_read(const char *line);
void
audio_output_state_save(FILE *fp);
+/**
+ * Generates a version number for the current state of the audio
+ * outputs. This is used by timer_save_state_file() to determine
+ * whether the state has changed and the state file should be saved.
+ */
+unsigned
+audio_output_state_get_version(void);
+
#endif