benilla-re systems structs docs

Sound::DupeCheckFailed

function · sound · orchestration

Address
0x7a66a0 · 115 bytes, up to 0x7a6712
Meaning
Returns whether an open fails its bus cap or duplicate check
Confidence
verified, proof one
Name from
the community database (idb)
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 4

Callees 2

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