Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Download 

 MediaPortal 1
            Releasenews | Download
 MediaPortal 2
            Releasenews | Download



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 Amp / Receiver as stereo, and multichannel sound sent to the AV Amp / Receiver as multichannel. Here's a longer answer.

In the sound settings of Windows (Control Panel - Hardware and Sound - Sound - Configure) there 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 Amp / 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 amp thinks it is already getting multi channel audio, so will be unable to create a surround sound effect via one of it's 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, so will 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 Amp / Receiver untouched, this is called bitstreaming. The formats that are usually bitstreamed are Dolby Digital, DTS, DTS-HD and Dolby True HD. A compatible audio codec will need to be used to configure the bitstreaming such as LAV Filters or  ffdshow. Bitstreaming also bypasses Windows Audio Mixer, but can only be used on specific audio codecs that are recognised by the AV Amp / 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 codec can be used to decode this audio to PCM, and MediaPortal Audio Renderer can then send this audio to an amp, bypassing the Windows Audio mixer. This means that the stereo broadcasts are picked up by the amp 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 amp 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.