diff src/cs/services/buzm/buzm_api.h @ 297:8dfdf88d632f

BUZM SWE initial implementation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Mar 2022 03:45:41 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/services/buzm/buzm_api.h	Tue Mar 29 03:45:41 2022 +0000
@@ -0,0 +1,17 @@
+/*
+ * This header file defines the external API of our BUZM SWE,
+ * callable from other tasks such as UI or AT commands.
+ */
+
+#ifndef __BUZM_API_H
+#define __BUZM_API_H
+
+#include "rv/rv_general.h"
+
+#define	BUZM_VOLUME_MIN		1
+#define	BUZM_VOLUME_MAX		64
+
+T_RV_RET buzm_play_melody(const char *pathname, UINT8 volume, BOOL loop);
+T_RV_RET buzm_stop_melody(void);
+
+#endif	/* include guard */