[wdmaudiodev] Re: 10ms latency (wavecyclic)

  • From: "Philip Lukidis" <pagefault0x0@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 19 Apr 2004 11:09:46 -0400

The docs mention that that the return value from this method is ignored, but
I suppose this is just false.  I rechecked my project, and I found that I do
three things...set the Interval (useless for the caller, as you noted),
calculate the frame size based on the new value and return the new interval
(which should be ignored according to doc).  Presumably, the return value is
simply not ignored.

Sorry for the brain fart.

Philip Lukidis

----- Original Message ----- 
From: "tekHedd" <tekhedd@xxxxxxxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Monday, April 19, 2004 11:17 AM
Subject: [wdmaudiodev] Re: 10ms latency (wavecyclic)


> > Philip Lukidis wrote:
> >
> >> Try this: in IMiniportWaveCyclicStream::SetNotificationFreq, change the
> >> passed value of Interval (param 0).  This is not recommended, but
> >> seems to
>
> SetNotificationFreq is definitely the trick here (I remember a very
> confusing week trying to figure out this very problem). There should be
> a note in the WaveCyclic docs mentioning the link to AllocatorFraming;
> this would clear up a lot of confusion.
>
> However, I can't see how changing a pass-by-value parameter (Interval)
> could make a difference, except in your own code. Returning the correct
> interval as the return value and setting *FramingSize works fine for me...
>
> tom
> PS - Is it just me, or does 1ms granularity seem a bit chunky for the
> notification interval? :)
> ******************
>
> 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.de/
>
>
******************

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.de/

Other related posts: