19#define AUDSRV_IRX 0x870884e
28#define AUDSRV_ERR_NOERROR 0x0000
29#define AUDSRV_ERR_NOT_INITIALIZED 0x0001
30#define AUDSRV_ERR_RPC_FAILED 0x0002
31#define AUDSRV_ERR_FORMAT_NOT_SUPPORTED 0x0003
32#define AUDSRV_ERR_OUT_OF_MEMORY 0x0004
33#define AUDSRV_ERR_ARGS 0x0005
34#define AUDSRV_ERR_NO_DISC 0x0006
35#define AUDSRV_ERR_NO_MORE_CHANNELS 0x0007
37#define AUDSRV_ERR_FAILED_TO_LOAD_ADPCM 0x0010
38#define AUDSRV_ERR_FAILED_TO_CREATE_SEMA 0x0011
65typedef int (*audsrv_callback_t)(
void *arg);
228#define audsrv_adpcm_set_volume(ch, vol) audsrv_adpcm_set_volume_and_pan(ch, vol, 0)
249#define audsrv_play_adpcm(adpcm) audsrv_ch_play_adpcm(-1, adpcm)
int audsrv_play_sectors(int start, int end)
int audsrv_get_numtracks()
int audsrv_is_adpcm_playing(int ch, audsrv_adpcm_t *adpcm)
int audsrv_play_audio(const char *chunk, int bytes)
int audsrv_on_cdda_stop(audsrv_callback_t cb, void *arg)
int audsrv_ch_play_adpcm(int ch, audsrv_adpcm_t *adpcm)
int audsrv_play_cd(int track)
int audsrv_get_trackpos()
int audsrv_load_adpcm(audsrv_adpcm_t *adpcm, void *buffer, int size)
const char * audsrv_get_error_string()
int audsrv_set_volume(int volume)
int audsrv_adpcm_set_volume_and_pan(int ch, int vol, int pan)
int audsrv_free_adpcm(audsrv_adpcm_t *adpcm)
int audsrv_on_fillbuf(int amount, audsrv_callback_t cb, void *arg)
int audsrv_wait_audio(int bytes)
int audsrv_get_track_offset(int track)
int audsrv_set_format(struct audsrv_fmt_t *fmt)
int audsrv_get_cd_status()