benilla-re systems structs docs

ScheduleNextZoneTrack

function · sound · primitive

Address
0x4601f0 · 77 bytes, up to 0x46023c
Meaning
Schedules the next zone track now, or after the row's silence interval
Confidence
verified, proof one
Finding
sound/music#silence-between-tracks

Finding: Silence between tracks in sound: music

When a zone track ends the next starts at once with SoundZoneMusicNoDelay on, 6 s later when no row is recorded (never, since the ended track's row still is), and otherwise after 0x460100(min, max) ms with the row's day or night silence interval. 0x460100(lo, hi) returns hi when hi ≤ lo, else lo + MulHigh32(hi − lo, r) with r the first value of a generator seeded with 0 on each call: always 0x16be8aa9, so the delay is always lo + 0.0888·(hi − lo) and never random. After a server track that is 32665 ms.

The derivation is in the doc.

Callers 1

Callees 3

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