[wdmaudiodev] Multichannel output problem via MME/DS under Vista/Win7

  • From: Eugene Muzychenko <eugene@xxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 25 Oct 2011 13:01:46 +0700

Hello!

My PortCls miniport works normally under XP, allowing to stream
multichannel (6- or 8-channel) streams via MME (waveOutXxx) and
DirectSound interfaces. But under Vista and Win7, only mono and stereo
formats are available. With 6- or 8-channel formats, waveOutOpen
returns MMSYSERR_INVALPARAM (not WAVERR_BADFORMAT). DirectSound
returns invalid parameter error too (0x80070057). Tested with several
applications, including WinAMP and Foobar2000, with 6_Channel_ID.wav
and 8_Channel_ID.wav.

Only Kernel Streaming allows to create multi-channel streams (works
normally in WinAMP and Foobar2000).

KSPROPERTY_PIN_PROPOSEDATAFORMAT is handled and DataRangeIntersection
method is implemented too.

On the playback device properties, Advanced tab, all 1..8 channel
formats are available. If I select "8 channels, 16 bits, 48000 Hz" and
click Test, the stream is created successfully and all channels are
present.

Filter node type is KSNODETYPE_LINE_CONNECTOR (due to endpoint naming
restriction) so speaker configuration option is not available. But
changing node type to KSNODETYPE_SPEAKER does not solve the problem.

What requirements should be met to use 6- and 8-channel streams via
MME/DS, in addition to XP's requirements?

WLK tests cannot help because they are limited to mono/stereo formats
only.

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:

  • » [wdmaudiodev] Multichannel output problem via MME/DS under Vista/Win7 - Eugene Muzychenko