Can you use ON-board sound + souncard without restarting the computer etc

Soldato
Joined
23 Nov 2009
Posts
6,038
Location
North Leicestershire
Just want to check on this before i plunge in and buy some headphones today.

i was hoping to keep the 2.1 speakers plugged into the on-board so the wife can use them in the day etc etc and leave the headphones plugged into the new sound card so when i want to game etc etc i just switch it over from within windows without having to diasble the on-board from within bios.

Is this possible or am i urinating against the wind here.
 
can use them fine, as you said just need to switch them over in windows.

currently use my sound card for gaming on speakers/headfones and output from onboard to the tv.
 
can use them fine, as you said just need to switch them over in windows.

currently use my sound card for gaming on speakers/headfones and output from onboard to the tv.

How do you do this from within windows 7.

it's not something i;ve done before so i have no idea where to start?

cheers for the help
 
Right click on the little speaker in the bottom right taskbar. Select 'Playback devices', choose which one you want and then click 'Set default'.
 
You can also create a shortcut by going to control panel, right clicking on Sound and choosing create shortcut. Or enter 'mmsys.cpl' into the search programs and files box at the Windows button.

In addition you can also create batch files to switch between sound devices simply by running the files. The following code can be saved to a text file and renamed to .bat to run the script. What it does is opens the Sound applet and then uses delays and the sendkeys vbs command to navigate the applet for you.

This one selects the second Sound device option.
Code:
@echo off
set delay=1500
start /b "" rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl
echo > "%temp%\Send.vbs" Set ws=CreateObject("WScript.Shell")
echo >>"%temp%\Send.vbs" WScript.Sleep(%delay%)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Tab}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Tab}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Enter}")
echo >>"%temp%\Send.vbs" WScript.Sleep(1000)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Enter}")
cscript //nologo "%temp%\Send.vbs"

This one will select the fourth option.
Code:
@echo off
set delay=1500
start /b "" rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl
echo > "%temp%\Send.vbs" Set ws=CreateObject("WScript.Shell")
echo >>"%temp%\Send.vbs" WScript.Sleep(%delay%)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

echo >>"%temp%\Send.vbs" ws.sendkeys("{Tab}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Tab}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Enter}")
echo >>"%temp%\Send.vbs" WScript.Sleep(1000)
echo >>"%temp%\Send.vbs" ws.sendkeys("{Enter}")
cscript //nologo "%temp%\Send.vbs"

Only tested in Windows 7.
 
nice one Tealc :), any idea how the device number is selected and how yo ucan change the device number if it doesnt match what you need ?
 
nice one Tealc :), any idea how the device number is selected and how yo ucan change the device number if it doesnt match what you need ?

Looking at the code I would say add in or remove more of these text blocks:

echo >>"%temp%\Send.vbs" ws.sendkeys("{Down}")
echo >>"%temp%\Send.vbs" WScript.Sleep(500)

as you can see the code to select the 4th device has this code 4 times and only twice to select the 2nd device.
 
Looking at the code I would say add in or remove more of these text blocks:

as you can see the code to select the 4th device has this code 4 times and only twice to select the 2nd device.

Yes that's why I posted two examples so you could see the difference and modify to suit your own needs.
 
Back
Top Bottom