| 69 | } |
| 70 | |
| 71 | static Result CSND_AcquireSoundChannels(u32* channelMask) |
| 72 | { |
| 73 | Result ret=0; |
| 74 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 75 | |
| 76 | cmdbuf[0] = IPC_MakeHeader(0x5,0,0); // 0x50000 |
| 77 | |
| 78 | if(R_FAILED(ret = svcSendSyncRequest(csndHandle)))return ret; |
| 79 | |
| 80 | *channelMask = cmdbuf[2]; |
| 81 | |
| 82 | return (Result)cmdbuf[1]; |
| 83 | } |
| 84 | |
| 85 | static Result CSND_ReleaseSoundChannels(void) |
| 86 | { |
no test coverage detected