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.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/output_state.h b/src/output_state.h
index 8592574ab..3b865f5fe 100644
--- a/src/output_state.h
+++ b/src/output_state.h
@@ -25,12 +25,21 @@
#ifndef OUTPUT_STATE_H
#define OUTPUT_STATE_H
+#include <stdbool.h>
#include <stdio.h>
-void
-readAudioDevicesState(FILE *fp);
+bool
+audio_output_state_read(const char *line);
void
-saveAudioDevicesState(FILE *fp);
+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