[wdmaudiodev] Dynamic topology and MediaPlayer

  • From: "Nikolay V. Pyatkov" <npyatkov@xxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx, Victor Zhodzishsky <victor@xxxxxxxxxxxx>, Ilya Faenson <ifaenson@xxxxxxxxxxxx>
  • Date: Thu, 09 Feb 2006 21:40:13 -0500

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
 
******************

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:

  • » [wdmaudiodev] Dynamic topology and MediaPlayer