[wdmaudiodev] Re: Multichannel test playback in Win10

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 28 Oct 2015 18:35:45 +0000

http://www.filedropper.com/testtones

Tried formats 48000/16/8, 44100/16/8 and 44100/16/6.

Thanks.

I see the following five calls to IAudioClient::Initialize from the Sound
control panel:

AUDCLNT_SHAREMODE_SHARED, 44.1/8-channel/channel mask of 0, fails with
AUDCLNT_E_UNSUPPORTED_FORMAT.
AUDCLNT_SHAREMODE_EXCLUSIVE, 44.1/8-channel/channel mask 0, succeeds
AUDCLNT_SHAREMODE_SHARED, 44.1/8-channel/channel mask of 0, fails with
AUDCLNT_E_UNSUPPORTED_FORMAT.
AUDCLNT_SHAREMODE_EXCLUSIVE, 48/6-channel/channel mask 0, succeeds
AUDCLNT_SHAREMODE_SHARED, 44.1/6-channel/channel mask of 0, fails with
AUDCLNT_E_UNSUPPORTED_FORMAT.

The zero channel mask is odd; I would have expected 5.1 for the 6-channel
format, and 7.1 for the 8-channel format.

The successful exclusive-mode streams should correspond to successful pin
creations.

So we have two problems to solve:
1. Why does the successful stream initialization not translate into successful
playback
2. Where did the invalid KSDATAFORMAT.FormatSize == sizeof(KSDATAFORMAT) come
from for the unsuccessful shared-mode streams

*scratches chin*

Can you perform the following experiment?

1. Uninstall your driver (this should remove all the endpoint stores)
2. Reinstall your driver
3. Let AudioEndpointBuilder do its format support probing
4. Send me a registry dump of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio
******************

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: