Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Dual Audio - A Virtual Audio Cable for Free

Hey again guys,

This time around, I have created a way that has fitted my needs, so I'm pretty sure it will fit yours.

With the release of Windows Vista and 7, Dual Audio outputs stopped being supported, due to "law" restrictions. I was annoyed by this, as I have both a Monitor with speakers, and a stereo system, and I wanted my audio to play out of both the monitor speakers and my stereo system. I couldn't find a viable solution (stereo mix was laggy and sounded terrible), so I came up with my own way of doing this.
This has many more uses than just this. You could listen to Skype calls through your headphones while listening to music through your desktop speakers, or whatever you want really. (As long as your Headphones and desktop speakers are on two different inputs (; )

First, you'll need to install Virtual Audio Cable:
http://www.softpedia.com/progDownload/Vi...-2217.html

Virtual Audio cable comes with a program called "Audio Repeater". This audio repeater constantly says "Trial" every 5 seconds, and it really interrupts your music or anything in general. I decided I would make a copy of this without all of the hassle.

Once you have Virtual Audio cable installed, you'll need to go to your Audio Settings and set your Default output device to Line 1 (Virtual Audio Cable).

Next, you can download my Dual Audio program, I have a repository setup for it:
http://github.com/ThrDev/DualAudio

After you do so, run dualaudio.exe and then it will show up, you select the number of devices you want to output to, then you select your audio input device (in this case, Line 1), then you select your audio output devices (Should be like Speakers and HDMI output or something of the sort). After this, just press enter and it will start playback. Now you have a working multiple-output audio system (:

Also, if you're wondering why there is a file named "NAudio" without any extension in the source code, it's just a copy of NAudio.dll but it's gzipped to save some space. Rename the extension to .dll.gz and you can open it with WinRAR.

Screenshot:
[Image: cxsF575.png]

Virus Scan:
https://www.virustotal.com/en/file/fef83...384190174/

Enjoy! (:
Just what I need to configure my headset and speakers lol. I actually made a thread concerning using dual outputs and rerouting them but apparently it wasn't possible. Now it is. I'll PM you once I get this freelancing work out of the way. Excellent release mate. I recommend uploading this to Git/Codeplex though, keep your projects neat and easy to find.
the more i see from you, the more i respect you; nice release
(Nov 11, 2013 01:11 PM)tweety Wrote:  Just what I need to configure my headset and speakers lol. I actually made a thread concerning using dual outputs and rerouting them but apparently it wasn't possible. Now it is. I'll PM you once I get this freelancing work out of the way. Excellent release mate. I recommend uploading this to Git/Codeplex though, keep your projects neat and easy to find.

Will do (: Doing that right now, github is where all of my stuff is located :P
Nice release bro', verry easy to use :)
(Nov 11, 2013 10:17 AM)‌‌‌‌‌Thr‌‌‌‌‌ Wrote:  due to "law" restrictions

Can you please explain? I'm quite interested on why this is..
Holy crap! This has been a problem for so long for me ! Thank's a lot! Do you mind releasing this on git?
(Nov 13, 2013 05:23 AM)ProBux Wrote:  Holy crap! This has been a problem for so long for me ! Thank's a lot! Do you mind releasing this on git?

Already did (:
http://github.com/ThrDev


(Nov 12, 2013 04:40 PM)Mr Liam Wrote:  Can you please explain? I'm quite interested on why this is..

I'm not absolutely sure as to what the exact reasons are, but I'm assuming that if Windows made dual outputs possible, you could record music easily or send it to another device while listening to it, allowing for a secretive way to steal music.
I've just pushed an update if anyone is interested. The update includes very little-latency audio output, so now you can play video games without worrying about the sound lagging behind.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by severosAug 27, 2016 02:44 AM 4 172 Aug 27, 2016 02:44 AM
Last Post: severos
[C#] by hgdfhsdgdfgdfhJun 30, 2013 12:04 PM 14 1,657 Jun 30, 2013 12:04 PM
Last Post: hgdfhsdgdfgdfh
[.NET] by ๖ۣۜRhythmSep 2, 2012 12:27 PM 1 88 Sep 2, 2012 12:27 PM
Last Post: SatansFate