MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / UpdateOneTimeSoundSource

Method UpdateOneTimeSoundSource

PanzerChasm/sound/sound_engine.cpp:445–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445void SoundEngine::UpdateOneTimeSoundSource()
446{
447 if( one_time_sound_source_ != nullptr )
448 {
449 PC_ASSERT( one_time_sound_source_data_ != nullptr );
450 if( one_time_sound_source_->is_free )
451 {
452 // Free expired sound source.
453 one_time_sound_source_data_= nullptr;
454 one_time_sound_source_= nullptr;
455 }
456 }
457}
458
459void SoundEngine::CalculateSourcesVolume()
460{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected