rename LICENSE to COPYING and add a more complete LICENSE file.
[rofl0r-openDOW.git] / audio.h
blob30da6b200e5862550991e0835f6c8f0494478e12
1 #ifndef AUDIO_H
2 #define AUDIO_H
4 #include <stddef.h>
5 #include "../c-flod/backends/wave_format.h"
7 void audio_init(void);
8 int audio_open_music(const char* filename, int track);
9 int audio_open_music_resource(const unsigned char* data, size_t data_size, int track);
10 int audio_process(void);
12 void audio_play_wav(const char* filename);
13 void audio_play_wave_resource(const WAVE_HEADER_COMPLETE* wave);
14 void audio_close(void);
16 //RcB: DEP "audio.c"
18 #endif