MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / cacheReverb

Method cacheReverb

engine/src/sound.cpp:135–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void Sound::cacheReverb(bool state)
136{
137#if defined(USE_FMOD)
138 if (state)
139 {
140 system->getReverbProperties(&last_reverb_props);
141 setReverb(false);
142 }
143 else
144 {
145 system->setReverbProperties(&last_reverb_props);
146 }
147#endif
148}
149
150void Sound::update()
151{

Callers 1

P_pauseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected