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

Function play

src/Audio/src/AudioEngine.cpp:337–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 // Playback control
336
337 void play(AudioHandle handle)
338 {
339 auto* inst = getInstance(handle);
340 if (inst != nullptr)
341 {
342 alSourcePlay(inst->sourceId);
343 }
344 }
345
346 void stop(AudioHandle handle)
347 {

Callers

nothing calls this directly

Calls 1

getInstanceFunction · 0.85

Tested by

no test coverage detected