|
| struct channel_s * | SND_AllocChannel (void) |
| | Allocate a sound channel that can be used for playing sounds. More...
|
| |
| void | SND_AmbientOff (void) |
| | Disable ambient sounds. More...
|
| |
| void | SND_AmbientOn (void) |
| | Enable ambient sounds. More...
|
| |
| sfxbuffer_t * | SND_CacheGetBuffer (sfx_t *sfx) |
| | Get the pointer to the sound buffer. More...
|
| |
| void | SND_CacheRelease (sfx_t *sfx) |
| | Unlock a cached sound from memory. More...
|
| |
| sfxbuffer_t * | SND_CacheRetain (sfx_t *sfx) |
| | Lock a cached sound into memory. More...
|
| |
| sfxbuffer_t * | SND_CacheTouch (sfx_t *sfx) |
| | Ensure a cached sound is in memory. More...
|
| |
| wavinfo_t * | SND_CacheWavinfo (sfx_t *sfx) |
| | Retrieve wavinfo from a cached sound. More...
|
| |
| void | SND_Channels_Init (void) |
| | Initialize the channels sub-subsystem. More...
|
| |
| void | SND_ChannelStop (channel_t *chan) |
| | Stop a channel from playing. More...
|
| |
| void | SND_Convert (byte *idata, float *fdata, int frames, int channels, int width) |
| | Convert integer sample data to float sample data. More...
|
| |
| sfxbuffer_t * | SND_GetCache (long samples, int rate, int channels, sfxblock_t *block, cache_allocator_t allocator) |
| | Allocate a sound buffer from cache for cached sounds. More...
|
| |
| void | SND_InitScaletable (void) |
| | Initialize the scale table for painting of 8 bit samples. More...
|
| |
| 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...
|
| |
| sfx_t * | SND_LoadSound (const char *name) |
| | Pre-load a sound. More...
|
| |
| int | SND_LoadWav (QFile *file, sfx_t *sfx, char *realname) |
| | Load the referenced sound from the specified WAV file. More...
|
| |
| void | SND_LocalSound (const char *s) |
| | Start a sound local to the client view. More...
|
| |
| void | SND_PaintChannels (unsigned int endtime) |
| | Mix all active channels into the output buffer. More...
|
| |
| sfx_t * | SND_PrecacheSound (const char *sample) |
| | Pre-load a sound into the cache. More...
|
| |
| void | SND_PulldownResampler (sfxstream_t *stream) |
| | Free memory allocated for the resampler. More...
|
| |
| void | SND_Resample (sfxbuffer_t *sc, float *data, int length) |
| | Copy/resample data into buffer, resampling as necessary. More...
|
| |
| void | SND_ScanChannels (int wait) |
| | Scan channels looking for stopped channels. More...
|
| |
| void | SND_SetListener (const vec3_t origin, const vec3_t v_forward, const vec3_t v_right, const vec3_t v_up, const byte *ambient_sound_level) |
| | Update the sound engine with the client's position and orientation and render some sound. More...
|
| |
| void | SND_SetPaint (sfxbuffer_t *sc) |
| | Set the paint function of the sfxbuffer. More...
|
| |
| void | SND_SetupResampler (sfxbuffer_t *sc, int streamed) |
| | Set up the various parameters that depend on the actual sample rate. More...
|
| |
| void | SND_SFX_Cache (sfx_t *sfx, char *realname, wavinfo_t info, cache_loader_t loader) |
| | Cache sound data. More...
|
| |
| void | SND_SFX_Init (void) |
| | Initialize the sfx sub-subsystem. More...
|
| |
| void | SND_SFX_Stream (sfx_t *sfx, char *realname, wavinfo_t info, sfx_t *(*open)(sfx_t *sfx)) |
| | Stream sound data. More...
|
| |
| void | SND_SFX_StreamClose (sfx_t *sfx) |
| | Close a stream. More...
|
| |
| sfx_t * | SND_SFX_StreamOpen (sfx_t *sfx, void *file, long(*read)(void *, float **), int(*seek)(sfxstream_t *, int), void(*close)(sfx_t *)) |
| | Open a stream for playback. More...
|
| |
| void | SND_StartSound (int entnum, int entchannel, sfx_t *sfx, const vec3_t origin, float fvol, float attenuation) |
| | Start a sound playing. More...
|
| |
| void | SND_StaticSound (sfx_t *sfx, const vec3_t origin, float vol, float attenuation) |
| | Create a sound generated by the world. More...
|
| |
| void | SND_StopAllSounds (void) |
| | Stop all sounds from playing. More...
|
| |
| void | SND_StopSound (int entnum, int entchannel) |
| | Stop an entity's sound. More...
|
| |
| int | SND_StreamAdvance (sfxbuffer_t *buffer, unsigned int count) |
| | Advance the position with the stream, updating the ring buffer as necessary. More...
|
| |
| sfxbuffer_t * | SND_StreamGetBuffer (sfx_t *sfx) |
| | Get the pointer to the sound buffer. More...
|
| |
| void | SND_StreamRelease (sfx_t *sfx) |
| | Unlock a streamed sound from memory. More...
|
| |
| sfxbuffer_t * | SND_StreamRetain (sfx_t *sfx) |
| | Lock a streamed sound into memory. More...
|
| |
| void | SND_StreamSetPos (sfxbuffer_t *buffer, unsigned int pos) |
| | Seek to an absolute position within the stream, resetting the ring buffer. More...
|
| |
| wavinfo_t * | SND_StreamWavinfo (sfx_t *sfx) |
| | Retrieve wavinfo from a streamed sound. More...
|
| |