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

Function stop

src/Audio/src/AudioEngine.cpp:346–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344 }
345
346 void stop(AudioHandle handle)
347 {
348 auto* inst = getInstance(handle);
349 if (inst != nullptr)
350 {
351 alSourceStop(inst->sourceId);
352 }
353 }
354
355 void pause(AudioHandle handle)
356 {

Callers

nothing calls this directly

Calls 1

getInstanceFunction · 0.85

Tested by

no test coverage detected