Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ pause
Function
pause
src/Audio/src/AudioEngine.cpp:355–362 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
353
}
354
355
void pause(AudioHandle handle)
356
{
357
auto* inst = getInstance(handle);
358
if (inst != nullptr)
359
{
360
alSourcePause(inst->sourceId);
361
}
362
}
363
364
void unpause(AudioHandle handle)
365
{
Callers
1
pauseMusic
Function · 0.85
Calls
1
getInstance
Function · 0.85
Tested by
no test coverage detected