Wiki Navigation
- Loading...
Using MediaPortal Audio Renderer to Bypass Windows Audio Mixer (aka WASAPI)
Why bypass Windows Audio Mixer?
The short answer is to get stereo sound sent to an AV amplifier or receiver as stereo, and multichannel sound sent to the AV amplifier or receiver as multichannel.
Here's the long answer:
In the sound settings of Windows (Control Panel - Hardware and Sound - Sound - Configure) is the option to configure the sound device according to the number of speakers that are connected to the system. If there are stereo speakers attached, then the speaker set up can be set to stereo, and Windows will downmix any multichannel sound to two channels to give stereo sound.
If there are multiple speakers attached to the system, then this setting can be set to match the number of speakers connected, for example 5.1 speakers. The problem with this setting is that Windows will now send all audio as 5.1 channels, this is fine if the audio source is multichannel, but if the audio source is stereo Windows will fill the other channels with silence. So for a 5.1 set up with a stereo source, the front left and right speakers will receive the stereo audio and the remaining channels will be sent silence.
The main issue with this is that if you have an amplifier or receiver that is able to apply Pro-logic settings to stereo audio in order to create a pseudo surround sound effect, it will only be able to do that if it receives a stereo signal. With Windows sending stereo signals, wrapped up with silent channels, the amplifier thinks it is already getting multi channel audio so it will be unable to create a surround sound effect via one of its Pro-logic settings.
How to set up MPAR to bypass Windows Audio Mixer
It's easy. Just select MediaPortal Audio Renderer as the audio renderer in the Codecs and Renderer sections of MediaPortal Configuration. This will then bypass the Windows Audio Mixer and ignore the configuration that is set for the sound device in Windows Control Panel.
What about Bitstreaming?
Some audio formats can be sent to an AV amplifier or receiver untouched - called bitstreaming. The formats that are usually bitstreamed are Dolby Digital, DTS, DTS-HD and Dolby TrueHD. A compatible audio decoder, such as LAV Filters or ffdshow, will need to be used to configure the bitstreaming. Bitstreaming also bypasses Windows Audio Mixer, but can only be used on specific audio decoders that are recognized by the AV amplifier or receiver.
Bitstreaming will work as usual with MediaPortal Audio Renderer as it cannot process any bitstreamed audio currently; mainly as there is no point in it since bitstreamed audio cannot be altered at all. MPAR rejects the connections to any bitstreamed format so the default audio renderer is used instead.
Real World Use: Freeview HD in the UK (DVB-T2 and HE-AAC)
Freeview HD broadcasts in the UK contain an AAC audio codec called HE-AAC. Some of these broadcasts are in stereo, and some are in multichannel audio, containing 5.1 channels. The LAV Audio AAC decoder can be used to decode this audio to PCM and MediaPortal Audio Renderer can then send this audio to an amplkifier, bypassing the Windows Audio mixer. This means that the stereo broadcasts are picked up by the amplifier as PCM stereo and then a Pro-logic setting can be applied to give a surround sound effect. The broadcasts containing 5.1 audio channels are sent to the amplifier via MediaPortal Audio Renderer as PCM 5.1 which should sound very high quality as no conversion has been done and minimal processing has taken place.

This page has no comments.