#ifndef __SEGA_DCSOUND_H__
#define __SEGA_DCSOUND_H__
#include "emuconfig.h"
#ifdef __cplusplus
extern "C" {
#endif
sint32 EMU_CALL dcsound_init(void);
uint32 EMU_CALL dcsound_get_state_size(void);
void EMU_CALL dcsound_clear_state(void *state);
void* EMU_CALL dcsound_get_arm_state(void *state);
void* EMU_CALL dcsound_get_yam_state(void *state);
uint32 EMU_CALL dcsound_getword(void *state, uint32 a);
void EMU_CALL dcsound_setword(void *state, uint32 a, uint32 d);
void EMU_CALL dcsound_upload_to_ram(void *state, uint32 address, void *src, uint32 len);
sint32 EMU_CALL dcsound_execute(
void *state,
sint32 cycles,
sint16 *sound_buf,
uint32 *sound_samples
);
uint32 EMU_CALL dcsound_get_pc(void *state);
#ifdef __cplusplus
}
#endif
#endif