Sound::Stop2
function · sound · primitive
- Address
0x7a5a10· 58 bytes, up to0x7a5a49- Meaning
- Fades a sound out and releases it at silence, or releases it now
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sound/engine#fades
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 16
- StopCreditsMusic sound
- StopGlueMusic sound
- SetZoneMusic sound
- SetLuaMusic sound
- PlayServerMusic sound
- RefreshZoneAmbience sound
- PlayZoneIntro sound
- EmitterPump sound
- FreeEmitterSlot sound
- LIQUIDINFO::StopSound sound
- CGDynamicObject_C::StopSound objectlayer
- CGUnit_C::Release objectlayer
- CMissile::~CMissile objectlayer
- CMissile::Arrive objectlayer
- CEffect::~CEffect objectlayer
- CEffect::Stop objectlayer
Callees 3
- CDataAllocator::PutData base
- Sound::Destructor sound
- Sound::FadeOut sound
Calls and jumps by a bare address, from tables/calls.tsv.