Em Andamento

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: default sound device, change default sound device, change default sound card, default playback device, programmatically select sound card, default sound card vbnet, default sound playback device, change default device vista, changing default sound card, set default playback device, windows default sound, programmatically, changing default playback device, net sound playback device, windows change default playback, playback devices net, changing recording device programmatically, default playback bluetooth, net change default playback, vbs set default playback, vbscript change sound playback

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

ID do Projeto: #169399

Premiar a:

wsh2

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)
4.7

2 freelancers estão ofertando em média $225 para este trabalho

exroberta

please check PMB.thank you.

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