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

14
src/sound.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef SOUND_H
#define SOUND_H
typedef struct {
int sampleCount;
int16_t *samples;
} sound_t;
int sound_init(sound_t *self, int samples);
void sound_deinit(sound_t *self);
#endif