| 443 | } |
| 444 | |
| 445 | void 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 | |
| 459 | void SoundEngine::CalculateSourcesVolume() |
| 460 | { |
nothing calls this directly
no outgoing calls
no test coverage detected