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

Function CSND_SetChnRegs

libctru/source/services/csnd.c:411–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void CSND_SetChnRegs(u32 flags, u32 physaddr0, u32 physaddr1, u32 totalbytesize, u32 chnVolumes, u32 capVolumes)
412{
413 u32* cmdparams = csndAddCmd(0x00E);
414
415 cmdparams[0] = flags;
416 cmdparams[1] = chnVolumes;
417 cmdparams[2] = capVolumes;
418 cmdparams[3] = physaddr0;
419 cmdparams[4] = physaddr1;
420 cmdparams[5] = totalbytesize;
421}
422
423void CSND_SetChnRegsPSG(u32 flags, u32 chnVolumes, u32 capVolumes, CSND_DutyCycle duty)
424{

Callers 1

csndPlaySoundFunction · 0.85

Calls 1

csndAddCmdFunction · 0.85

Tested by

no test coverage detected