soundsrv.h (403B)
1 #ifndef __SNDSERVER_H__ 2 #define __SNDSERVER_H__ 3 #define SAMPLECOUNT 512 4 #define MIXBUFFERSIZE (SAMPLECOUNT*2*2) 5 #define SPEED 11025 6 void I_InitMusic(); 7 void I_InitSound(int samplerate, int samplesound); 8 void I_SubmitOutputBuffer(void* samples, int samplecount); 9 void I_ShutdownSound(); 10 void I_ShutdownMusic(); 11 extern void openwad(char* wadname); 12 extern void* getsfx(char* sfxname, int* len); 13 #endif