Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ loopv
Function
loopv
source/src/soundscheduler.cpp:32–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
if(newchannels < 0)
31
{
32
loopv(sources)
33
{
34
source *src = sources[i];
35
if(src->locked) continue;
36
sources.remove(i--);
37
delete src;
38
if(sources.length() <= numsoundchannels) break;
39
}
40
}
41
else loopi(newchannels)
42
{
Callers
1
reset
Method · 0.70
Calls
5
position
Method · 0.80
dist
Method · 0.80
remove
Method · 0.45
length
Method · 0.45
iszero
Method · 0.45
Tested by
no test coverage detected