MCPcopy Create free account
hub / github.com/devkitPro/libctru / CSND_SetBlock

Function CSND_SetBlock

libctru/source/services/csnd.c:336–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void CSND_SetBlock(u32 channel, int block, u32 physaddr, u32 size)
337{
338 u32* cmdparams = csndAddCmd(block ? 0x003 : 0x00A);
339
340 cmdparams[0] = channel & 0x1f;
341 cmdparams[1] = physaddr;
342 cmdparams[2] = size;
343}
344
345void CSND_SetLooping(u32 channel, u32 value)
346{

Callers 1

csndPlaySoundFunction · 0.85

Calls 1

csndAddCmdFunction · 0.85

Tested by

no test coverage detected