[wdmaudiodev] Re: DirectX and AVStream

  • From: "Jeff Pages" <jeff@xxxxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 11 Jan 2005 10:18:40 +1100

How can I identify Wav device for chosen hardware device (it has to work on
W2K)?
I used Waldemar's advice and use friendly name for my interfaces so I can
identify DirectShow filters, but how can one obtain wav device id. Should
the device itself be named? (when I launch devicetree tool it appears as
unnamed) From WaveAPI documentation I assume that device id is the same as
device handle.

If you know the waveOut device ID, you can get the Device Interface for your device by calling waveOutMessage with the DRV_QUERYDEVICEINTERFACE message.


Wave device ID's and device handles are different things - the device ID is a sequential number ranging from 0 up to the number of wave devices whereas a wave handle is the actual handle returned from opening the device with waveOutOpen.

I hope that helps.

Jeff


******************

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.de/

Other related posts: