int speed;
int width;
int stereo;
- byte data[1]; // variable sized
+ qbyte data[1]; // variable sized
} sfxcache_t;
typedef struct sfx_s
void S_Update (vec3_t origin, vec3_t v_forward, vec3_t v_right, vec3_t v_up);
void S_ExtraUpdate (void);
-sfx_t *S_PrecacheSound (char *sample);
+sfx_t *S_PrecacheSound (char *sample, int complain);
void S_TouchSound (char *sample);
void S_ClearPrecache (void);
void S_BeginPrecaching (void);
extern cvar_t volume;
extern cvar_t snd_swapstereo;
+extern qboolean cdaudioinitialized;
extern qboolean snd_initialized;
extern int snd_blocked;
void S_LocalSound (char *s);
-sfxcache_t *S_LoadSound (sfx_t *s);
+sfxcache_t *S_LoadSound (sfx_t *s, int complain);
-wavinfo_t GetWavinfo (char *name, byte *wav, int wavlength);
+wavinfo_t GetWavinfo (char *name, qbyte *wav, int wavlength);
void SND_InitScaletable (void);
void SNDDMA_Submit(void);
void S_AmbientOn (void);
#endif
+