|
|
| version 1.5, 2008/04/02 13:04:00 | version 1.8, 2011/12/24 17:50:44 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| #ifndef NP2_X11_SOUNGMNG_H__ | #ifndef NP2_X11_SOUNGMNG_H__ |
| #define NP2_X11_SOUNGMNG_H__ | #define NP2_X11_SOUNGMNG_H__ |
| #ifdef __cplusplus | G_BEGIN_DECLS |
| extern "C" { | |
| #endif | |
| enum { | enum { |
| SOUND_PCMSEEK, | SOUND_PCMSEEK, |
| Line 42 void soundmng_deinitialize(void); | Line 38 void soundmng_deinitialize(void); |
| BOOL soundmng_pcmload(UINT num, const char *filename); | BOOL soundmng_pcmload(UINT num, const char *filename); |
| void soundmng_pcmvolume(UINT num, int volume); | void soundmng_pcmvolume(UINT num, int volume); |
| extern int pcm_volume_default; | |
| #else /* NOSOUND */ | #else /* NOSOUND */ |
| #define soundmng_create(rate, ms) 0, (void)rate, (void)ms | #define soundmng_create(rate, ms) 0 |
| #define soundmng_destroy() | #define soundmng_destroy() |
| #define soundmng_reset() | #define soundmng_reset() |
| #define soundmng_play() | #define soundmng_play() |
| Line 65 void soundmng_pcmvolume(UINT num, int vo | Line 63 void soundmng_pcmvolume(UINT num, int vo |
| #endif /* !NOSOUND */ | #endif /* !NOSOUND */ |
| #ifdef __cplusplus | G_END_DECLS |
| } | |
| #endif | |
| #endif /* NP2_X11_SOUNGMNG_H__ */ | #endif /* NP2_X11_SOUNGMNG_H__ */ |