DSP:WriteProcessPipe: Difference between revisions
Add channel enum |
Add buffer details |
||
| (One intermediate revision by the same user not shown) | |||
| Line 54: | Line 54: | ||
|- | |- | ||
| BINARY | | BINARY | ||
| 3 | |||
|} | |||
==Buffer== | |||
When <code>Channel == AUDIO</code>, | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 2 | |||
| Unknown | |||
|- | |||
| 0x2 | |||
| 2 | |||
| Change DSP state | |||
|} | |||
When <code>Channel == BINARY</code>, | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 2 | |||
| Codec enum | |||
|- | |||
| 0x2 | |||
| 2 | | 2 | ||
| Codec Command | |||
|- | |||
| 0x4 | |||
| 4 | |||
| Result (0 = Success; 1 = Failed) | |||
|- | |||
| 0x8 | |||
| 24 | |||
| Command Args | |||
|} | |} | ||
===Command Args=== | |||