DSP Memory Region: Difference between revisions
No edit summary |
|||
Line 344: | Line 344: | ||
== Output samples == | == Output samples == | ||
Read only. This structure is 640 bytes long. | Read only. This structure is 640 bytes long. Output is stereo (the 3DS has two speakers). | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 353: | Line 353: | ||
|- | |- | ||
| 0 | | 0 | ||
| s16[160][ | | s16[160] | ||
| | | Left-channel Samples | ||
|- | |||
| 320 | |||
| s16[160] | |||
| Right-channel Samples | |||
|} | |} | ||
Line 361: | Line 365: | ||
Read/Write. | Read/Write. | ||
PCM32. Also serves an aux function, allowing the ARM11 to apply custom effects to audio. | PCM32. Also serves an aux function, allowing the ARM11 to apply custom effects to audio. Internal format of the DSP firmware is quadaphonic audio. | ||
This structure is 5120 bytes long. | This structure is 5120 bytes long. | ||
Line 372: | Line 376: | ||
|- | |- | ||
| 0 | | 0 | ||
| | | IntermediateSample[160] | ||
| Samples | | Samples. There are | ||
|} | |||
Yes, this has the dimensionality opposite to that of the output samples, that is not a mistake. | |||
=== Intermediate sample === | |||
A quadraphonic sample. | |||
{| class="wikitable" | |||
|- | |||
| Offset | |||
| Type | |||
| Description | |||
|- | |||
| 0 | |||
| s32 | |||
| Left Channel A | |||
|- | |||
| 4 | |||
| s32 | |||
| Right Channel A | |||
|- | |||
| 8 | |||
| s32 | |||
| Left Channel B | |||
|- | |||
| 12 | |||
| s32 | |||
| Right Channel B | |||
|} | |} | ||