1 #ifndef _INCLUDE_SYS_SND_H 2 #define _INCLUDE_SYS_SND_H 3 4 /* 5 * Snd section 6 * 7 * This section gathers all sound replaying related function on the emulating machine. 8 * We have to handle raw waveform (generated from hu-go! and internal pce state) and 9 * if possible external format to add support for them in .hcd. 10 */ 11 12 /* 13 * osd_snd_set_volume 14 * 15 * Changes the current global volume 16 */ 17 void osd_snd_set_volume(UChar); 18 19 /* 20 * osd_snd_init_sound 21 * 22 * Allocates ressources to output sound 23 * returns 0 on error else non zero value 24 */ 25 int osd_snd_init_sound (); 26 27 /* 28 * osd_snd_trash_sound 29 * 30 * Frees all sound ressources allocated in osd_snd_init_sound 31 */ 32 void osd_snd_trash_sound (); 33 #endif 34