MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / resetSoundObjects

Function resetSoundObjects

src/OpenLoco/src/Audio/Audio.cpp:563–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561 }
562
563 void resetSoundObjects()
564 {
565 for (auto& [_, buf] : _objectSamples)
566 {
567 unloadBuffer(buf);
568 }
569 _objectSamples.clear();
570 }
571
572 bool isAudioEnabled()
573 {

Callers 1

importSaveToGameStateFunction · 0.85

Calls 2

unloadBufferFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected