]> git.lizzy.rs Git - nothing.git/blob - src/sound_sample.h
839b462b9fe8bf6f173f2dd569de8e4902f65750
[nothing.git] / src / sound_sample.h
1 #ifndef SOUND_SAMPLE_H_
2 #define SOUND_SAMPLE_H_
3
4 typedef struct sound_sample_t sound_sample_t;
5
6 sound_sample_t *create_sound_sample_from_file(const char *filepath);
7 void destroy_sound_sample(sound_sample_t *sound_sample);
8 int sound_sample_play(sound_sample_t *sound_sample, int channel);
9
10 #endif  // SOUND_SAMPLE_H_