| 579 | } |
| 580 | |
| 581 | Result csndGetState(u32 channel, CSND_ChnInfo* out) |
| 582 | { |
| 583 | Result ret = 0; |
| 584 | channel = chnGetSharedMemIdx(channel); |
| 585 | |
| 586 | if (R_FAILED(ret = CSND_UpdateInfo(true)))return ret; |
| 587 | |
| 588 | memcpy(out, (const void*)&csndSharedMem[(csndOffsets[1] + channel*0xc) >> 2], 0xc); |
| 589 | //out[2] -= 0x0c000000; |
| 590 | |
| 591 | return 0; |
| 592 | } |
| 593 | |
| 594 | Result csndIsPlaying(u32 channel, u8* status) |
| 595 | { |
no test coverage detected