[wdmaudiodev] Re: What is different from w2k to XP in the WaveOut/In API?

  • From: Uwe Kirst <u.kirst@xxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 04 Aug 2003 20:21:14 +0200

Hi,
I just observed a WODM_GETDEVCAPS message with WAVEOUTCAPS2 structure.
The dwparam2 (size) is 132 in that case.
It seems that the system gets confused if I turn on the power of my
audio device. If I start an audio application or the control panel
before the power is turned on it shows the 14 audio devices included in
my .dll, because I use constant values for the devicecaps of these
devices (the directKS part is not active at the moment). If I turn on
the power my dll gets DRVM_INIT / WIDM_INIT / WODM_INIT messages. I
reply MMSYSERR_NOTSUPPORTED.
Afterwards applications shows much more devices (> 200). The enumeration
process slows down the system. The names of the devices do not make
sense, because I do not copy the devicecaps structure, including the
name, if dwparam2 is > sizeof(WAVOUTDEVCAPS2). The question is where do
all these devices come form? WODM_GETNUMDEVS always returns 14;
I checked w2k again to be sure that it is still working with the current
.dll version.
Uwe




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

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: