QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

Functions

int SND_Load (sfx_t *sfx)
 Load the referenced sound. More...
 
int SND_LoadFLAC (QFile *file, sfx_t *sfx, char *realname)
 Load the referenced sound from the specified FLAC file. More...
 
int SND_LoadMidi (QFile *file, sfx_t *sfx, char *realname)
 Load the referenced sound from the specified MIDI file. More...
 
int SND_LoadOgg (QFile *file, sfx_t *sfx, char *realname)
 Load the referenced sound from the specified Ogg file. More...
 
int SND_LoadWav (QFile *file, sfx_t *sfx, char *realname)
 Load the referenced sound from the specified WAV file. More...
 

Detailed Description

Function Documentation

int SND_Load ( sfx_t sfx)

Load the referenced sound.

Parameters
sfxsound reference
Returns
0 if ok, -1 on error
int SND_LoadFLAC ( QFile file,
sfx_t sfx,
char *  realname 
)

Load the referenced sound from the specified FLAC file.

Parameters
filepre-opened FLAC file
sfxsound reference
realnamepath of sound file should it need to be re-opened
Returns
0 if ok, -1 on error
int SND_LoadMidi ( QFile file,
sfx_t sfx,
char *  realname 
)

Load the referenced sound from the specified MIDI file.

Parameters
filepre-opened MIDI file
sfxsound reference
realnamepath of sound file should it need to be re-opened
Returns
0 if ok, -1 on error
int SND_LoadOgg ( QFile file,
sfx_t sfx,
char *  realname 
)

Load the referenced sound from the specified Ogg file.

Parameters
filepre-opened Ogg file
sfxsound reference
realnamepath of sound file should it need to be re-opened
Returns
0 if ok, -1 on error
int SND_LoadWav ( QFile file,
sfx_t sfx,
char *  realname 
)

Load the referenced sound from the specified WAV file.

Parameters
filepre-opened WAV file
sfxsound reference
realnamepath of sound file should it need to be re-opened
Returns
0 if ok, -1 on error