[wdmaudiodev] Re: Exposing several ranges

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 20 Oct 2011 11:57:21 +0200

Robert Bielik skrev 2011-10-19 20:13:
If you do implement a data range intersection handler, are you getting calls to 
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 = 
PVWD: [CMiniportWaveCyclic::DataRangeIntersection] Exit successfully

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


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


Other related posts: