[wdmaudiodev] Re: setting audio device as default from the VC++

  • From: Frank Yerrace <Frank.Yerrace@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 12 Jun 2009 21:10:05 +0000

Is there a reason the built-in RDP audio redirection is not sufficient?

You mentioned "my RDP client". Does this imply you have a custom over-the-wire 
protocol that you've implemented for a remote desktop solution? Or is this just 
a custom client for the Microsoft RDP protocol? Either way, depending on the 
exact level of customization you're trying to achieve, there might be better 
ways to hook into this rather than write a custom WDM audio driver and attempt 
to manipulate default audio devices.

Frank Yerrace
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Karthik Gurumurthy
Sent: Wednesday, June 10, 2009 9:17 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: setting audio device as default from the VC++

I have created an audio device driver, during the RPD session, login time i 
have to set that driver as default audio driver for streaming the audio data to 
my RDP client.
On Thu, Jun 11, 2009 at 9:34 AM, Frank Yerrace 
<Frank.Yerrace@xxxxxxxxxxxxx<mailto:Frank.Yerrace@xxxxxxxxxxxxx>> wrote:

Just to be clear, there is no documented or supported way to do this. If you 
create some solution through reverse engineering, there's no guarantee it will 
work in all cases and may not work on all relevant versions of Windows.



May I ask again, why do you need to? We'd like to understand the scenarios in 
case there are other improvements we should make in this area the future.



Frank Yerrace

Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.





From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>]
 On Behalf Of Karthik Gurumurthy
Sent: Wednesday, June 10, 2009 8:40 PM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: setting audio device as default from the VC++



Thanks guys,
          I figured it out how to do this. writing to the registry from vc++ 
will do the work.

Karthik SG

On Thu, Jun 11, 2009 at 12:01 AM, Frank Yerrace 
<Frank.Yerrace@xxxxxxxxxxxxx<mailto:Frank.Yerrace@xxxxxxxxxxxxx>> wrote:

There is no documented way to do this.



My usual follow up question: why do you want to?



Frank Yerrace

Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.



From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>]
 On Behalf Of Karthik Gurumurthy
Sent: Wednesday, June 10, 2009 1:25 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] setting audio device as default from the VC++



Hi all,
         How can i set an audio device driver to default from an VC++ program.

Karthik SG



Other related posts: