1 /* 2 *----------------------------------------------------------------------------- 3 * 4 * $Log: soundsrv.h,v $ 5 * 6 * Revision 2.0 1999/01/24 00:52:12 Andre Wertmann 7 * changed to work with Heretic 8 * 9 * Revision 1.3 1997/01/29 22:40:44 b1 10 * Reformatting, S (sound) module files. 11 * 12 * Revision 1.2 1997/01/21 19:00:07 b1 13 * First formatting run: 14 * using Emacs cc-mode.el indentation for C++ now. 15 * 16 * Revision 1.1 1997/01/19 17:22:50 b1 17 * Initial check in DOOM sources as of Jan. 10th, 1997 18 * 19 * 20 * DESCRIPTION: 21 * UNIX soundserver, separate process. 22 * 23 *----------------------------------------------------------------------------- 24 */ 25 26 #ifndef __SNDSERVER_H__ 27 #define __SNDSERVER_H__ 28 29 #define SAMPLECOUNT 512 30 #define MIXBUFFERSIZE (SAMPLECOUNT*2*2) 31 #define SPEED 11025 32 33 34 void I_InitMusic(void); 35 36 void I_InitSound( int samplerate, int samplesound ); 37 38 void I_SubmitOutputBuffer( void* samples, int samplecount ); 39 40 void I_ShutdownSound(void); 41 void I_ShutdownMusic(void); 42 43 #endif 44