mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
The SAS mix estimate was a guess capped at 1200us. Measured on a PSP (pspautotests audio/timing/sastiming), a mix costs 110us plus 0.49us per grain sample, plus per voice and sample 0.445us + 0.0675us per unit of pitch ratio (VAG; PCM and noise slightly less), plus 0.64us per sample with a reverb type set. Linear to 1% across 64-2048 samples and 0-32 voices: 32 VAG voices at 512 samples take 8.7ms, not 1.2. The mix runs on the Media Engine, as do video and audio decoding, so they now queue behind each other there (MEScheduleJob). A game that keeps SAS running during a movie - Star Wars: Lethal Alliance - decodes more slowly for it, like on hardware. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>