AnyPS5/core/libs/prx/libSceAudiodec
Pacuka 7b722253a4 fix(audiodec): take the M4AAC raw channel layout from the stream
For a raw M4AAC stream the maximum channel count was written into the
AudioSpecificConfig as the channel configuration. The maximum only bounds
the stream: The Smurfs Dreams creates its decoder with 8 channels at most
and sends stereo, so FFmpeg refused configuration 8 (reserved) and a
stereo stream under configuration 6 or 7 decodes no frame. The decoder
now starts from the mono/stereo configuration and on the first access
unit that it cannot decode moves on to the configurations with more
channels, up to the maximum, keeping the first one that decodes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 17:29:46 +02:00
..
src fix(audiodec): take the M4AAC raw channel layout from the stream 2026-10-08 17:29:46 +02:00
AudiodecLibrary.cmake fix(audiodec): build libSceAudiodec.native from the libSceAudiodec sources 2026-10-06 17:48:38 +02:00
CMakeLists.txt build(libs): strip the MinGW static runtime flags once for all libraries 2026-10-07 10:10:38 +00:00
Export.cpp feat(libSceAudiodec): decode MP3, M4AAC and ATRAC9 2026-10-02 09:22:59 +02:00