aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SSVLSystemAlertVolume.c2
-rw-r--r--SSVLSystemAlertVolume.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/SSVLSystemAlertVolume.c b/SSVLSystemAlertVolume.c
index a795568..b425bf8 100644
--- a/SSVLSystemAlertVolume.c
+++ b/SSVLSystemAlertVolume.c
@@ -1,4 +1,4 @@
-#include <AudioToolbox/AudioToolbox.h>
+#include "SSVLSystemAlertVolume.h"
const AudioServicesPropertyID SSVLAudioServicesPropertySystemAlertVolume = 'ssvl';
diff --git a/SSVLSystemAlertVolume.h b/SSVLSystemAlertVolume.h
new file mode 100644
index 0000000..e67d43d
--- /dev/null
+++ b/SSVLSystemAlertVolume.h
@@ -0,0 +1,9 @@
+#ifndef SSVLSystemAlertVolume_h
+#define SSVLSystemAlertVolume_h
+
+#include <AudioToolbox/AudioToolbox.h>
+
+OSStatus SSVLGetSystemVolume(Float32 *volume);
+OSStatus SSVLSetSystemVolume(Float32 volume);
+
+#endif /* SSVLSystemAlertVolume_h */