diff options
author | Javier <dev.git@javispedro.com> | 2014-08-15 20:49:23 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2014-08-15 20:49:23 +0200 |
commit | 9694ec75ab1464b3699ef367f3800e60bef0cc7a (patch) | |
tree | 645c4d0fc9b8c71162cdf9f4ac572904b0bc4079 /audio.h | |
download | coveraudiod-9694ec75ab1464b3699ef367f3800e60bef0cc7a.tar.gz coveraudiod-9694ec75ab1464b3699ef367f3800e60bef0cc7a.zip |
initial import
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 |