Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ MxCloseChannel
Function
MxCloseChannel
src/mixer.cpp:109–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
static void MxCloseChannel(uint8_t channel_index)
110
{
111
_active_channels.fetch_and(~(1U << channel_index), std::memory_order_release);
112
}
113
114
/**
115
* Close all mixer channels.
Callers
1
MxMixSamples
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected