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

Function csndIsPlaying

libctru/source/services/csnd.c:594–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594Result csndIsPlaying(u32 channel, u8* status)
595{
596 Result ret;
597 CSND_ChnInfo entry;
598
599 ret = csndGetState(channel, &entry);
600 if(R_FAILED(ret))return ret;
601
602 *status = entry.active;
603
604 return 0;
605}

Callers

nothing calls this directly

Calls 1

csndGetStateFunction · 0.85

Tested by

no test coverage detected