mirror of
https://github.com/libretro/xmil-libretro.git
synced 2025-02-05 15:56:54 +00:00
d7cebb23e9
refs #90 svn merge -r 193:214 https://amethyst.yui.ne.jp/svn-dev/x1/xmil/branches/yui/WORK_01
47 lines
755 B
C
47 lines
755 B
C
|
|
enum {
|
|
SOUND_PCMSEEK = 0,
|
|
SOUND_PCMSEEK1 = 1,
|
|
|
|
SOUND_MAXPCM
|
|
};
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
UINT soundmng_create(UINT rate, UINT ms);
|
|
void soundmng_destroy(void);
|
|
void soundmng_reset(void);
|
|
void soundmng_play(void);
|
|
void soundmng_stop(void);
|
|
void soundmng_sync(void);
|
|
|
|
BRESULT soundmng_pcmplay(UINT num, BOOL loop);
|
|
void soundmng_pcmstop(UINT num);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
// ---- for windows
|
|
|
|
BRESULT soundmng_initialize(void);
|
|
void soundmng_deinitialize(void);
|
|
|
|
void soundmng_pcmload(UINT num, const OEMCHAR *filename, UINT type);
|
|
void soundmng_pcmvolume(UINT num, int volume);
|
|
|
|
enum {
|
|
SNDPROC_MASTER = 0,
|
|
SNDPROC_MAIN,
|
|
SNDPROC_TOOL,
|
|
SNDPROC_SUBWIND
|
|
};
|
|
|
|
void soundmng_enable(UINT proc);
|
|
void soundmng_disable(UINT proc);
|
|
|