aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-10-25 01:35:56 +0200
committerTeddy Wing2022-10-25 01:35:56 +0200
commit5a5d8b96cec6dca93bc6eb277b9766625a6d75c4 (patch)
treeb24b9b714c09e8fc2a94a24ca4877d01a242a6ef
parent72f2271a0a02b857e4654bd742dcedbfdd1a2d10 (diff)
downloadSSVLSystemAlertVolume-5a5d8b96cec6dca93bc6eb277b9766625a6d75c4.tar.bz2
Add a header file
-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 */