[wdmaudiodev] Distinguish between basic and extensible formats

  • From: Eugene Muzychenko <emuzychenko@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 13 Dec 2006 11:55:49 +0600

Hello!

Does anybody know how to correctly distinguish between basic and
extensible audio formats in the driver? Working under Windows 2000 and
XP, my driver periodically get the KSDATAFORMAT descriptor with
KSDATAFORMAT_SPECIFIER_WAVEFORMATEX specifier from the sysaudio driver.
Checking the WaveFormatEx descriptor, the driver finds
WAVE_FORMAT_EXTENSIBLE in wFormatTag field and a zero in the cbSize
field.

Must the driver reject such format descriptor as invalid or simply
ignore the WAVE_FORMAT_EXTENSIBLE, assuming there is WAVE_FORMAT_PCM?

SubFormat parameter in the KSDATAFORMAT descriptor is
KSDATAFORMAT_SUBTYPE_PCM.

Regards,
Eugene

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

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: