Added mixer and sound (c side)
This commit is contained in:
14
src/sound.h
Normal file
14
src/sound.h
Normal 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
|
||||
Reference in New Issue
Block a user