Jump to content

Recommended Posts

Posted

Hi everyone.

 

The music Dept. has just bought some M-Audio Fast Track USB recording devices.

 

When the are plugged in, the default Audio Playback device changes from the internal sound card to the Fast Track device.

 

Is there a script, or does anyone know how to change it when students don't have access to the control panel?

 

Maybe a registry setting?

 

Im sure this an be done... I just dont know how.

 

Many thanks

 

James

Posted (edited)

There is an autoit file attached to this post that should work with Windows 7/Vista, it probably works with XP as well if you still have that.

 

http://forum.codeproblem.com/c/how-to-set-default-audio-device-programmaticaly-in-c-on-windows-vista/msg20/#msg20

 

in XP you can use reg files but be careful to only apply them to computers of the same type otherwise it could kill sound support

http://social.msdn.microsoft.com/forums/en-US/windowsgeneraldevelopmentissues/thread/108fc80c-5d09-4c09-a806-58339dfb7197/

Edited by SYNACK
Posted
There is an autoit file attached to this post that should work with Windows 7/Vista, it probably works with XP as well if you still have that.

 

How to set default audio device programmaticaly in C# on Windows Vista

 

SYNACK, thanks for this but the file isnt there. Does any one have a script that will work.

 

I have created a .reg file, which works but the sound still comes out of the wrong device until I go into the sounds and Audio devices in the control panel. Then the computer seems to refresh itself and the sound comes out of the correct device.

 

I am a complete novice at scripting but i'm sure someone out there must know how to do this with something I can run at Log on.

 

Thanks

 

James

Posted (edited)

try looking about near here :)

HKEY_CURRENT_USER\ Software\Microsoft\Multimedia\Sound

 

 

or here

 

SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render

Edited by iScripter64

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...