neowin[.]net/guides/how-to-restore-dolby-digital-ac-3-support-in-windows-11-24h2/
Win11 used to come with the Dolby Digital [AC-3] codec preinstalled, but they dropped it from 24H2. If you upgraded 23H2 to 24H2 it should still be there -- it's only missing from fresh installs. This Neowin article directs you to a GitHub page where you can download the free installer.
github[.]com/SimonMacer/AnWave/releases/tag/AnWave-Split