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

Function CSND_ReleaseSoundChannels

libctru/source/services/csnd.c:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static Result CSND_ReleaseSoundChannels(void)
86{
87 Result ret=0;
88 u32 *cmdbuf = getThreadCommandBuffer();
89
90 cmdbuf[0] = IPC_MakeHeader(0x6,0,0); // 0x60000
91
92 if(R_FAILED(ret = svcSendSyncRequest(csndHandle)))return ret;
93
94 return (Result)cmdbuf[1];
95}
96
97Result CSND_AcquireCapUnit(u32* capUnit)
98{

Callers 1

csndExitFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected