benilla-re systems structs docs

Sound::Resume

function · sound · host

Address
0x7a5900 · 72 bytes, up to 0x7a5947
Meaning
Restores a suspended sound's flags and lists and clears its suspend reason
Confidence
verified, proof one
Name from
the community database (idb)
Finding
sound/engine#pause-reasons

Finding: Pause reasons in sound: the engine

+0x88 holds four pause reasons: 0 held, 1 sound effects off, 2 suspended, 3 cut off. 0x7a65a0(reason, set) changes one; when the any-set state changes it pauses or resumes the channel with FSOUND_SetPaused, or, with no channel and nothing set, starts the stream with FSOUND_Stream_PlayEx(FSOUND_FREE, stream, NULL, TRUE), applies the stored state and unpauses. It returns whether reason 0 is clear, and 0 when a start fails. Sound::SetPaused(b) is reason 0. Sound::Suspend stops the channel and stream, keeps the flags in +0x3c, leaves the object and panning lists and sets reason 2; Sound::Resume restores them and clears it.

The derivation is in the doc.

Callers 1

Callees 5

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