[wdmaudiodev] [Fwd: Dynamic topology and MediaPlayer]

  • From: Antonio Gómez Muriana <senco@xxxxxxxxxxxxxx>
  • To: Lista WDM Audo Dev <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 10 Feb 2006 10:55:52 +0100

Take every playing audio device away and then take them back in the order you want to be used. I believe that this could work.

---------
Hi,

I work with a driver which installs and removes its wave subdevice 
dynamically, depends on the headset connected. Our device is the default 
audio device in the system.

When I start MediaPlayer with our headset connected, the audio goes to our 
device (default). When I disconnect the headset, the wave subdevice goes 
away, MediaPlayer stops for a while, realizes the device is gone, switches to 
next available audio device and continues to play from the place it stopped. 
When our device comes back nothing is happening. MediaPlayer just does not 
care. 

The question - how do I tell MediaPlayer to stop playing and check for the 
current default device?

Any information would be appreciated.

Thanks,
Nikolay
--
Antonio Gómez Muriana
Multimedia Developer
IRC Crawler S.L.
C/ Álvarez de Castro, 2 1ºD
E-04001 Almería, Spain
+34 950 28 09 02
****************** 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 URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/

Other related posts: