Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

SILENCE_BLOCK

Constant SILENCE_BLOCK 

Source
pub const SILENCE_BLOCK: SpuAddr;
Expand description

One ADPCM block of silence that loops on itself, for every one-shot’s repeat address to point at. See [SILENCE_BLOCK_BYTES].

SPU RAM below 0x1000 belongs to the hardware’s own decode buffers, so 0x1000 is the first address a program may use, and everything in this workspace already starts its sample bank at 0x1010. That leaves exactly one block spare, which is all this needs.