audio/am: Refactor audio effect versioning #95
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/biquad-filter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change addresses critical stability and persistence issues by improving the way the emulator handles different audio renderer revisions.
Audio Core Enhancements:
Implemented a more robust versioning check that utilizes the audio renderer's process revision to distinguish between legacy and updated effect structures.
Migrated parameter state update logic into the command generator. This ensures that the "Updated" status flag is written to the correct memory offset specific to the application's expected revision (addressing offsets 0x17 vs 0x25).
Introduced a hard safety clamp on effect channel counts. By validating that channel counts remain within hardware-supported limits (maximum of 6), the emulator now prevents command buffer overflows and potential memory corruption/SIGSEGV crashes caused by reading unmapped or invalid guest memory.