aboutsummaryrefslogtreecommitdiff
path: root/audio.h
blob: c180ed0332c80a27b8f99b36d9af7bd8daeb1972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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