[wdmaudiodev] Re: Dynamic Audio Subdevices

  • From: Dang XiaoHui <dangxhfromuestc@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 26 Nov 2010 10:14:46 +0800


During the disconnect, I marked the output pin in topology as disconnected,
unregister the connection between wavecyclic and topology, unregister
wavecyclic, but the topology is stayed in the system.

During reconnect, mark the  output pin in topology asconnected, created the
wavecyclic and topology.

It works fine. But what bother me is : after i reconnected my device, the
Windows Media Player will pause and popup a message box says "an audio
device was disconnected or reconfigured. Verify that the audio device is
connected,  and then try to play the item again."    How can I get rid of
this message box during reconnect?


2010/11/18 Robert Bielik <robert.bielik@xxxxxxxxxx>

> uwekirst skrev 2010-11-18 14:33:
>  It maybee sufficient just to create another device reference, a dosdevice
>> would be the simplest.
> You mean by IoCreateSymbolicLink ? But at that time I need the device name,
> and I don't know from where to retrieve it...
> /Rob
> ******************
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> http://www.wdmaudiodev.com/

Other related posts: