diff options
Diffstat (limited to 'audio.h')
-rw-r--r-- | audio.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#ifndef AUDIO_H +#define AUDIO_H + +#include <stdbool.h> + +enum samples { + FIRST_KEY_SAMPLE = 0, + LAST_KEY_SAMPLE = 5, + NUM_KEY_SAMPLES = 6, + FIRST_MOD_SAMPLE = 6, + LAST_MOD_SAMPLE = 7, + NUM_MOD_SAMPLES = 2, + NUM_SAMPLES = 8 +}; + +bool audio_init(); +void audio_close(); + +void audio_play_sample(int num_sample); + +#endif // AUDIO_H |