1 #pragma once
2 #include "decode.h"
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 int sdl_audio_init(void **audio_render, int samplerate, int channels, int format, int buffer);
8 void sdl_audio_release(void *audio_render);
9 void sdl_audio_set_dec(void *audio_render, decoder *dec);
10 
11 #ifdef __cplusplus
12 }
13 #endif
14