| 56 | } |
| 57 | |
| 58 | static Result CSND_ExecuteCommands(u32 offset) |
| 59 | { |
| 60 | Result ret=0; |
| 61 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 62 | |
| 63 | cmdbuf[0] = IPC_MakeHeader(0x3,1,0); // 0x30040 |
| 64 | cmdbuf[1] = offset; |
| 65 | |
| 66 | if(R_FAILED(ret = svcSendSyncRequest(csndHandle)))return ret; |
| 67 | |
| 68 | return (Result)cmdbuf[1]; |
| 69 | } |
| 70 | |
| 71 | static Result CSND_AcquireSoundChannels(u32* channelMask) |
| 72 | { |
no test coverage detected