MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SetLLSoundQuantity

Method SetLLSoundQuantity

sndlib/hlsoundlib.cpp:502–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500 return false;
501}
502void hlsSystem::SetLLSoundQuantity(int n_sounds) {
503 if (n_sounds > MAX_SOUNDS_MIXED) {
504 n_sounds = MAX_SOUNDS_MIXED;
505 }
506 n_lls_sounds = n_sounds;
507 mprintf(1, "SNDLIB: Allow %d sounds to be mixed.\n", n_sounds);
508 if (m_f_hls_system_init) {
509 InitSoundLib(NULL, Sound_mixer, Sound_quality, false);
510 }
511}
512int hlsSystem::GetLLSoundQuantity() { return n_lls_sounds; }
513// Start and clean-up after the sound library
514int hlsSystem::InitSoundLib(oeApplication *sos, char mixer_type, char quality, bool f_kill_sound_list) {

Callers 2

LoadGameSettingsFunction · 0.80
finishMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected