cvar_t volume = {CVAR_SAVE, "volume", "0.7"};
cvar_t snd_staticvolume = {CVAR_SAVE, "snd_staticvolume", "1"};
-qboolean snd_initialized = false;
+cvar_t snd_initialized = { CVAR_READONLY, "snd_initialized", "0"};
void S_Init (void)
{
Cvar_RegisterVariable(&bgmvolume);
Cvar_RegisterVariable(&volume);
Cvar_RegisterVariable(&snd_staticvolume);
+ Cvar_RegisterVariable(&snd_initialized);
}
void S_AmbientOff (void)
{
}
+void S_ClearUsed (void)
+{
+}
+
+void S_PurgeUnused (void)
+{
+}
+
void S_ClearBuffer (void)
{
}
{
}
-void S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation)
+int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation)
+{
+ return -1;
+}
+
+void S_StopChannel (unsigned int channel_ind)
+{
+}
+
+void S_PauseChannel (unsigned int channel_ind, qboolean toggle)
+{
+}
+
+void S_LoopChannel (unsigned int channel_ind, qboolean toggle)
{
}
{
}
-sfx_t *S_PrecacheSound (char *sample, int complain)
+void S_PauseGameSounds (void)
{
- return NULL;
}
-void S_ClearPrecache (void)
+void S_ResumeGameSounds (void)
{
}
-void S_Update (vec3_t origin, vec3_t v_forward, vec3_t v_right, vec3_t v_up)
+void S_SetChannelVolume (unsigned int ch_ind, float fvol)
{
}
-void S_StopAllSounds (qboolean clear)
+sfx_t *S_GetCached(const char *name)
+{
+ return NULL;
+}
+
+sfx_t *S_PrecacheSound (char *sample, int complain)
{
+ return NULL;
}
-void S_BeginPrecaching (void)
+void S_Update(vec3_t origin, vec3_t forward, vec3_t left, vec3_t up)
{
}
-void S_EndPrecaching (void)
+void S_StopAllSounds (qboolean clear)
{
}