Re: Speeding HAL plugin loop rate
Re: Speeding HAL plugin loop rate
- Subject: Re: Speeding HAL plugin loop rate
- From: "Mike Kluev" <email@hidden>
- Date: Fri, 23 Jan 2009 11:02:02 +0300
On Tue, 20 Jan 2009 11:11:35 Jeff Moore <email@hidden> wrote:
As for your sample rate problem with the sample code, that seems to me to
be due to a short-cut that the sample code takes. The short cut is that by
only allowing one sample rate, the sample code avoids having to have code
that updates all the streams of the device when the sample rate changes on
one of them. That's not a bug, per se, but it is something that could be
improved to make the sample code better.
rdar://6520009
That said, there also appears to be an actual bug in the sample code relating
to changing the format where the sample code fails to send any notifications
when the format actually does change. The fix for that would be to add code to
SHP_Stream::TellHardwareToSetPhysicalFormat() to send the appropriate
notifications (using HP_FormatList::DetermineNotifications()).
rdar://6520017
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden