[wdmaudiodev] Re: Exposing several ranges

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 20 Oct 2011 16:00:43 +0000

I'm kind of coming up empty...

Can you send a screenshot of the "Configure Speakers" wizard, and one of the 
"Default Format" dropdown on the Advanced tab (drop-down opened?)

As I read it, the MSVadSimple driver should support 6-channel and 8-channel 
audio.  If you install that driver, does the Speaker Configuration wizard work?

CMiniportWaveCyclic::PropertyHandlerProposedFormat
                        if ((pWfx->wFormatTag == WAVE_FORMAT_EXTENSIBLE) && 
(pWfx->cbSize == CB_EXTENSIBLE))
                        {
                            WAVEFORMATEXTENSIBLE* pWfxT = 
(WAVEFORMATEXTENSIBLE*)pWfx;

                            if (((pWfx->nChannels == 2) && 
(pWfxT->dwChannelMask == KSAUDIO_SPEAKER_STEREO)) ||
                                ((pWfx->nChannels == 6) && 
(pWfxT->dwChannelMask == KSAUDIO_SPEAKER_5POINT1_SURROUND)) ||
                                ((pWfx->nChannels == 8) && 
(pWfxT->dwChannelMask == KSAUDIO_SPEAKER_7POINT1_SURROUND)))
                            {
                                ntStatus = STATUS_SUCCESS;
                            }
                        }

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Robert Bielik
Sent: Thursday, October 20, 2011 2:57 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Exposing several ranges

Robert Bielik skrev 2011-10-19 20:13:
>> If you do implement a data range intersection handler, are you getting calls 
>> to it?
> PVWD: [CMiniportWaveCyclic::DataRangeIntersection] Buffer overflow <- 
> Call 1
> PVWD: [CMiniportWaveCyclic::DataRangeIntersection] 
> pWfxExt->Format.nChannels = 8 <- Call 2
> PVWD: [CMiniportWaveCyclic::DataRangeIntersection] 
> pWfxExt->Format.nSamplesPerSec = 44100
> PVWD: [CMiniportWaveCyclic::DataRangeIntersection] 
> pWfxExt->Format.wBitsPerSample = 32
> PVWD: [CMiniportWaveCyclic::DataRangeIntersection] 
> pWfxExt->dwChannelMask = 0x0000063F
> PVWD: [CMiniportWaveCyclic::DataRangeIntersection] Exit successfully 
> [...snip...]

Any ideas ? This is a show stopper for me. I tried a long shot by removing the 
device, reboot, and making sure there were no traces left in 
.../MMDevices/Audio/Render, then installed the driver again, and at first 
activation I exposed it as a 8 ch device (acc to the above), but still the 
"Audio channels" list in "Configure Speakers" is unpopulated (!) (whereas the 8 
ch USB device I have does have that list populated).

Obviously there is something else I need to do, or do otherwise (i.e. 
correctly), but I have no clue as to what atm.

After this I noticed my KSPROPERTY_PIN_PROPOSEDATAFORMAT handler was "commented 
out", but when once in again, I cannot get the "Confgure Speakers" dialog to 
show at all (!)

I reply STATUS_NO_MATCH here if samplerate is != 44100 or bits != 32 or 
channels outside [2,8] range.

Help is immensely appreciated
/Rob


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

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/


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

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: