Added mixer and sound (c side)

This commit is contained in:
rnlf
2017-01-22 01:01:24 +01:00
parent d78f203674
commit 5f6daa497f
6 changed files with 195 additions and 19 deletions

11
src/mixer.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include <stdint.h>
#include "sound.h"
void mixer_init(void);
void mixer_deinit(void);
int16_t const* mixer_getNextBlock(void);
void mixer_play(sound_t const *sound);
void mixer_mix(void);