benilla-re systems structs docs

Sound::IncrementCategory

function · sound · primitive

Address
0x7a6730 · 40 bytes, up to 0x7a6757
Meaning
Counts a sound on its bus once and flags it counted
Confidence
verified, proof one
Finding
sound/engine#bus-caps-and-duplicates

Finding: Bus caps and duplicates in sound: the engine

Every open names one of 13 buses. A bus at its cap refuses the open, as does a bus of 13 or more; nothing is evicted. The caps are 2³¹−1, 1, 2, 2, 1, 1, 2, 2, 1, 6, 4, 1, 2 for buses 0 to 12. With flag 0x1 the open also fails while a sound of the same file name hash is live and not fading, or is cut off. A sound counts on its bus once its channel starts and stops counting when the channel stops.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.