![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <snd_main.h>
Data Fields | |
| const snd_fetcher_t * | fetcher |
| void * | fetcher_data |
| Per-sfx data for the sound fetching functions. | |
| unsigned int | flags |
| cf SFXFLAG_* defines | |
| snd_format_t | format |
| format describing the audio data that fetcher->getsamplesfloat will return | |
| unsigned int | loopstart |
| in sample frames. equals total_length if not looped | |
| size_t | memsize |
| total memory used (including struct sfx_s and fetcher data) | |
| char | name [MAX_QPATH] |
| struct sfx_s * | next |
| unsigned int | total_length |
| in sample frames | |
| float | volume_mult |
| for replay gain (multiplier to apply) | |
| float | volume_peak |
| for replay gain (highest peak); if set to 0, ReplayGain isn't supported | |
Definition at line 66 of file snd_main.h.
| const snd_fetcher_t* sfx_t::fetcher |
Definition at line 76 of file snd_main.h.
| void* sfx_t::fetcher_data |
Per-sfx data for the sound fetching functions.
Definition at line 77 of file snd_main.h.
| unsigned int sfx_t::flags |
cf SFXFLAG_* defines
Definition at line 73 of file snd_main.h.
| snd_format_t sfx_t::format |
format describing the audio data that fetcher->getsamplesfloat will return
Definition at line 72 of file snd_main.h.
| unsigned int sfx_t::loopstart |
in sample frames. equals total_length if not looped
Definition at line 74 of file snd_main.h.
| size_t sfx_t::memsize |
total memory used (including struct sfx_s and fetcher data)
Definition at line 70 of file snd_main.h.
| char sfx_t::name[MAX_QPATH] |
Definition at line 68 of file snd_main.h.
| struct sfx_s* sfx_t::next |
Definition at line 69 of file snd_main.h.
| unsigned int sfx_t::total_length |
in sample frames
Definition at line 75 of file snd_main.h.
| float sfx_t::volume_mult |
for replay gain (multiplier to apply)
Definition at line 79 of file snd_main.h.
| float sfx_t::volume_peak |
for replay gain (highest peak); if set to 0, ReplayGain isn't supported
Definition at line 80 of file snd_main.h.