summaryrefslogtreecommitdiff
path: root/shell/audio/sound_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/audio/sound_output.h')
-rw-r--r--shell/audio/sound_output.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/audio/sound_output.h b/shell/audio/sound_output.h
new file mode 100644
index 0000000..b770fbe
--- /dev/null
+++ b/shell/audio/sound_output.h
@@ -0,0 +1,12 @@
+#ifndef SOUND_OUTPUT_H
+#define SOUND_OUTPUT_H
+
+#include <stdbool.h>
+#include "shared.h"
+
+extern uint32_t Audio_Init();
+extern void Audio_Write(int16_t* restrict buffer, uint32_t buffer_size);
+extern bool Audio_Underrun_Likely();
+extern void Audio_Close();
+
+#endif