s_sample.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void S_SetSampleRepeatRate (int sampleRepeatRate)
 Controls the repeat rate for the same sample.
void S_LoadSamples (void)
void S_FreeSamples (void)

Detailed Description

Definition in file s_sample.h.


Function Documentation

void S_FreeSamples ( void   ) 

Definition at line 135 of file s_sample.c.

References s_sample_s::chunk, s_sample_s::hashNext, i, Mem_Free, s_sample_s::name, next, and SAMPLE_HASH_SIZE.

Referenced by S_Shutdown().

void S_LoadSamples ( void   ) 
void S_SetSampleRepeatRate ( int  sampleRepeatRate  ) 

Controls the repeat rate for the same sample.

Parameters:
[in] sampleRepeatRate milliseconds that must have passed to play the same sample again

Definition at line 36 of file s_sample.c.

References s_env, and s_env_s::sampleRepeatRate.

Referenced by MS_LoadXML().


Generated by  doxygen 1.6.2