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

Function csndExit

libctru/source/services/csnd.c:232–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void csndExit(void)
233{
234 if (AtomicDecrement(&csndRefCount)) return;
235
236 //CSND_Reset();
237 CSND_ReleaseSoundChannels();
238
239 svcUnmapMemoryBlock(csndSharedMemBlock, (u32)csndSharedMem);
240 svcCloseHandle(csndSharedMemBlock);
241
242 CSND_Shutdown();
243 svcCloseHandle(csndHandle);
244
245 if(csndSharedMem != NULL)
246 {
247 mappableFree((void*) csndSharedMem);
248 csndSharedMem = NULL;
249 }
250}
251
252u32* csndAddCmd(int cmdid)
253{

Callers

nothing calls this directly

Calls 3

CSND_ShutdownFunction · 0.85
mappableFreeFunction · 0.85

Tested by

no test coverage detected