FTEQW
Documentation of the FTE engine source tree.
snd_mem.c File Reference

Functions

qbyteS_Alloc (int size)
 
void SND_ResampleStream (void *in, int inrate, qaudiofmt_t informat, int inchannels, int insamps, void *out, int outrate, qaudiofmt_t outformat, int outchannels, int resampstyle)
 
qboolean QDECL S_LoadOVSound (sfx_t *s, qbyte *data, size_t datalen, int sndspeed, qboolean forcedecode)
 
qboolean S_RegisterSoundInputPlugin (void *module, S_LoadSound_t loadfnc)
 
void S_UnregisterSoundInputModule (void *module)
 
qboolean S_LoadSound (sfx_t *s, qboolean force)
 

Variables

int cache_full_cycle
 

Function Documentation

◆ S_Alloc()

qbyte * S_Alloc ( int  size)

◆ S_LoadOVSound()

qboolean QDECL S_LoadOVSound ( sfx_t s,
qbyte data,
size_t  datalen,
int  sndspeed,
qboolean  forcedecode 
)

◆ S_LoadSound()

qboolean S_LoadSound ( sfx_t s,
qboolean  force 
)

◆ S_RegisterSoundInputPlugin()

qboolean S_RegisterSoundInputPlugin ( void module,
S_LoadSound_t  loadfnc 
)

◆ S_UnregisterSoundInputModule()

void S_UnregisterSoundInputModule ( void module)

◆ SND_ResampleStream()

void SND_ResampleStream ( void in,
int  inrate,
qaudiofmt_t  informat,
int  inchannels,
int  insamps,
void out,
int  outrate,
qaudiofmt_t  outformat,
int  outchannels,
int  resampstyle 
)

Variable Documentation

◆ cache_full_cycle

int cache_full_cycle

◆ loadfunc

S_LoadSound_t loadfunc

◆ module

void* module