cancel
Showing results for 
Search instead for 
Did you mean: 

Dolby Digital utility for Asus Xonar

mashakos
Level 7
Not sure if this belongs here, please let me know or move if not the case mods. I wrote a small utility that switches your home theater amp to Dolby Digital when launching games. I just put it together last night, so would like some feedback or feature requests from any PC gamers here who are gaming on the couch.

A bit of background: I've been using a PC with a home theater sound system for years, and one thing really bugged me about how audio is set up in Windows. Why is it that when running a game on a PC which clearly has Dolby Digital Live or DTS Connect, does the audio system not switch to surround sound? The PS3 and xbox360 can do it, hell, even the old xbox can pull this off. Why can't our beefy 2012 machines/beasts manage what a lowly console from 2001 can?

Fed up with this, I decided to research a solution. Found a great console application developed by Dave Amaneta that uses undocumented windows API routines to magically switch audio outputs in the background. This was great, but it was half the solution. On my Asus Xonar and a few other sound cards with DDL/DTSc support, merely switching audio output is not enough. You have to open the soundcard's control panel (Xonar Audio Center in my case) and set the required "Dolby Digital Live" or "DTS Connect" setting. If you have previously enabled the setting, you still need to open up the control panel for the switch to properly take effect.

With this in mind, I have created the DDDC Auto.Switch shell application for Dave Amaneta's clever utility.
Check it out and let me know if it's worked with your X-Fi Titanium or onboard audio with Dolby Digital Live or DTS Connect support.
download here: http://www.mashakos.com/dddcswitch/DDDCAutoSwitch_ver_0.001.zip

Here are some excerpts from the readme:

What is it?
-----------

The DDDC Auto.Switch application is a shell for the
EndPointController.exe console application developed by Dave Amenta.
The application, once configured, will allow your system to automatically
switch to a real-time encoding audio output source while launching an app
or game. The application will then switch back to the satndard audio
output source once you have closed the launched app/game.
This application provides a solution to the lack of automated detection
of uncompressed surround sound in games and applications in the audio
products of hardware vendors.

What is real-time encoding audio?
-----------

Before HDMI came along, the most popular digital audio output standards
were coaxial or optical S/PDIF digital output. While S/PDIF had many
advantages over analogue audio outputs including the doing away of
electrical interference entirely, it did have a limited bandwidth which
necessitated that any audio with more than 2.1 channels
(anything above stereo) was to be compressed using either the
Dolby Digital or DTS audio codecs.
This poses a problem for a lot of applications (mostly games) that do
have surround sound but not compressed in either format.
A common workaround is using RTA (real-time audio) encoding to one of
the two abovementioned codecs. The two main RTA encoding technologies
are Dolby Digital Live and DTS connect. Since these technologies have
to be licensed, support for them usually comes from the audio hardware
vendor, whether it's a motherboard manufacturer including built-in audio
into it's products or a discrete sound card manufacturer.
10,069 Views
1 REPLY 1

KILLER_K
Level 10
I will check it out when I get home later on today. Means a lot to see someone give credit to "Dave Amenta" also. Thanks for the link and your work on it.