char name[MAX_QPATH];
mempool_t *mempool;
sfxcache_t *sfxcache;
+ int silentlymissing; // true if missing and loaded with complain = false
} sfx_t;
typedef struct
void S_Init (void);
void S_Startup (void);
void S_Shutdown (void);
+void S_Open (void);
+void S_Close (void);
void S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation);
void S_StaticSound (sfx_t *sfx, vec3_t origin, float vol, float attenuation);
void S_StopSound (int entnum, int entchannel);
// resamples one sound buffer into another, while changing the length
void S_ResampleBuffer16Stereo(short *input, int inputlength, short *output, int outputlength);
+// returns the rate that the rawsamples system is running at
+int S_RawSamples_SampleRate(void);
+
#endif