benilla-re systems structs docs

Sound::FadeIn

function · sound · primitive

Address
0x7a5730 · 119 bytes, up to 0x7a57a6
Meaning
Fades a sound in from silence to a level over a time, or reapplies its volume below 0.1 s
Confidence
verified, proof one
Finding
sound/engine#fades
Test
sound::channel_set_volume

Finding: Fades in sound: the engine

0x7a5730(seconds, level) fades a sound in from silence to level (0 to 255): with a stream and seconds ≥ 0.1 it stores the target, a rate of level / (seconds · 1000) per ms and the start time, and puts it on the fade list; below 0.1 it only reapplies the stored volume. 0x7a57b0(seconds, v) passes ftol(v · 255). 0x7a5a50(seconds) fades out from the current level at level / (seconds · −1000), or, below 0.1 s or without a channel, stops the stream at once. Sound::Stop2(seconds) fades out and releases the record at silence, or releases it at once. Sound::Stop destroys the record a slot points at and clears the slot.

The derivation is in the doc.

Callers 3

Callees 4

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