MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setReverb

Method setReverb

Engine/source/sfx/sfxSystem.cpp:1052–1065  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050//-----------------------------------------------------------------------------
1051
1052void SFXSystem::setReverb( const SFXReverbProperties& reverb )
1053{
1054 mReverb = reverb;
1055
1056 // Allow the plugins to adjust the reverb.
1057
1058 for( U32 i = 0; i < mPlugins.size(); ++ i )
1059 mPlugins[ i ]->filterReverb( mReverb );
1060
1061 // Pass it on to the device.
1062
1063 if( mDevice )
1064 mDevice->setReverb( mReverb );
1065}
1066
1067//-----------------------------------------------------------------------------
1068

Callers 4

_allocVoiceMethod · 0.45
createDeviceMethod · 0.45
updateMethod · 0.45
removeSoundscapeMethod · 0.45

Calls 2

filterReverbMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected