shithub: mp3dec

ref: ea70d0b775b2d589d1697d1e1dfbc744ecab814e
dir: /player/audio_sdl.h/

View raw version
#pragma once
#include "decode.h"
#ifdef __cplusplus
extern "C" {
#endif

int sdl_audio_init(void **audio_render, int samplerate, int channels, int format, int buffer);
void sdl_audio_release(void *audio_render);
void sdl_audio_set_dec(void *audio_render, decoder *dec);

#ifdef __cplusplus
}
#endif