Programmatically changing the default sound playback device in windows 2000-XP using managed .Net code

I need help programmatically changing the default sound playback device in windows 2000-XP, Vista is another issue to be addressed later. Please find the attached program containing the code I cannot get to work. This is a VS 2005 project. Look at the code behind the “Test Pref Device” button found on MainForm. I am trying to call the windows API waveoutMessage() with a DRVM_MAPPER_PREFERRED_SET message to change the default playback device to the computers sound card. My application makes use of a Bluetooth headset. When the headset connects Windows, it sets the default recording and playback devices to the headset. This is the intended behavior for the microphone, but the sound playback needs to continue to be routed through the PC speakers, thus the need to change it programmatically.

Habilidades: .NET, Programação C, Área de trabalho do Windows

Ver mais: change default playback device, setting default sound device programmatically vista, net change default sound device, default sound device, drvm_mapper_preferred_set, change default sound device, net change default sound card, programmatically change default sound device, windows change sound device programmatically, change default sound card, default playback device, programmatically select sound card, net change default playback device, vbnet change default audio device, change default device playback vista, vbnet change default sound device, default sound card vbnet, default sound playback device, programmatically set default audio device windows, change default device vista, set default playback device programatically, change default sound device windows, set default sound card application, changing default sound card, set default playback device

Acerca do Empregador:
( 8 comentários ) Atlanta, United States

ID do Projeto: #169399

Premiar a:


I have 3 solutions.. one of which is different from what you might expect. Hello my name is Bill.. I am a VB.Net, VB, VBA, SQL, MsOffice (Access+Excel) and WinXP programming Expert, Leader and Mentor [screenname Mais

$150 USD em 1 dia
(9 Avaliações)

2 freelancers are bidding on average $225 for this job


please check [url removed, login to view] you.

$300 USD in 20 dias
(1 Comentário)