The sound hardware

apu/apu.c owns the sound registers and the mixer: the two square channels with their envelopes, length counters and sweep, the wave channel with its two banks of four bit digits, the noise channel with its feedback register, and the two direct sound FIFOs the audio DMA fills. The mixer samples at 32768 Hz and produces the interleaved stereo stream the host plays, with the SOUNDCNT_L and SOUNDCNT_H volume and panning settings applied.


Made from docs/platforms/agb/README.md at 69237645142c. GPL-3.0-or-later.