Hello,
It should be automatic. Make sure that codecs (ac3, dts and co) are enabled in Windows (you need to configure the audio output the first time).
If it still doesn't work, could you share the logs? (Run VLC, press Ctrl-M. Increase verbosity, run the media, copy-paste the logs here).