mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-01 12:45:56 +00:00
The 28- and 32-byte M4AAC parameter blocks carry two fields at offsets 24 and 28 whose range errors fpPS4 names SCE_AUDIODEC_ERROR_M4AAC_INVALID_ENABLE_NONDELAY_OUTPUT (0x807F0305) and SCE_AUDIODEC_ERROR_M4AAC_INVALID_SURROUND_CHANNEL_INTERLEAVE_ORDER (0x807F0306). shadPS4's AJM AAC decoder outputs every decoded frame from the first one on when non-delay output is enabled, which is what the decoder here does, so a decoder created with non-delay output 1 is accepted and decodes as before. Surround channel interleave orders 1 and 2 still throw, now naming the order: no source says which order each value selects. Name both errors and test that every access unit yields its frame from the first one with non-delay output enabled.