Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // Other Forums // Designers Corner // Coding / Scripting / Programming

Coding / Scripting / Programming Discussions on all manner of coding and scripting.

Reply
 
LinkBack Thread Tools Display Modes
Old 11-April-05, 12:54 PM   #1 (permalink)
I need to Confirm with email
bazorama's Avatar
Default Changing Sound Device

I wondered if anyone knows of a script or can make one to do the following:

I want the script to change my main sound output device from my on board sound card to my PCI sound card, I believe this should be able to be done but have no idea how to do it myself.

Any comments about this would be welcome, thanks. :
bazorama is offline     Reply With Quote
Old 11-April-05, 01:30 PM   #2 (permalink)
'Da Doctor of Funk
FunkyFresh's Avatar
Default

Sure, I don't think it'd be too hard. Here's what you'd basically do:
  1. Create a .reg file with the settings you want. Probably easiest to set the audio device to what you want in Control panel, export that registry branch to a .reg file, and remove the values you don't care about from the .reg file.
  2. Create a batch file that merges the .reg file into the registry.

The main sound output device is stored in the registry in:
HKEY_CURRENT_USER
  - Software
    - Microsoft
      - Multimedia
        - Playback


The contents of your batch file will be simple:
Code:
regedit /s c:\whatever\sound.reg
For more info, check out these links:
By the way, neither I nor PR take any responsibility for the effects of playing with the registry. Do your homework and you'll be fine.
FunkyFresh is offline     Reply With Quote
Old 11-April-05, 01:38 PM   #3 (permalink)
I need to Confirm with email
bazorama's Avatar
Default

Thanks for the reply and LoL @ the small print.
bazorama is offline     Reply With Quote
Old 13-July-05, 11:07 PM   #4 (permalink)
Apex Tech God
CubanConnectionZ's Avatar
Question

Quote:
Originally Posted by bazorama
I wondered if anyone knows of a script or can make one to do the following:

I want the script to change my main sound output device from my on board sound card to my PCI sound card, I believe this should be able to be done but have no idea how to do it myself.

Any comments about this would be welcome, thanks. :

What will that be used for , If you don't mind me asking.


Did you get it to work ????

Last edited by CubanConnectionZ; 09-August-05 at 05:06 PM..
CubanConnectionZ is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New 5.1 surround sound and external sound card... Reza Anything Goes 11 07-May-06 10:16 AM
Sound Blaster X-Fi XtremeMusic Sound card $120 Sleepy_Sentry Deals and Steals 0 22-August-05 07:31 AM
Sound Blaster X-Fi Fatal1ty Sound Card $203 THRASHER2 Deals and Steals 4 10-August-05 08:14 PM
Music CD- no sound??? DVD- sound OK. Whats wrong here? GLO Motherboards / CPUs 17 29-June-04 12:02 AM


All times are GMT -5. The time now is 04:30 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.14718 seconds with 9 queries