Re: coreaudio-api digest, Vol 1 #146 - 10 msgs
Re: coreaudio-api digest, Vol 1 #146 - 10 msgs
- Subject: Re: coreaudio-api digest, Vol 1 #146 - 10 msgs
- From: Bill Stewart <email@hidden>
- Date: Mon, 03 Dec 2001 11:16:32 -0800
It might be interesting to post these to the list.
We worked out a scheme for these values ourselves in 10.1 and it would be
interesting to see how you've worked this.
Bill
on 30/11/01 3:25 PM, David A. Gatwood wrote:
>
On Fri, 30 Nov 2001, Jeff Moore wrote:
>
>
> on 11/30/01 1:23 AM, Stephane Letz <email@hidden> wrote:
>
>
>
>> I wanted basically to know if a Linux audio application that use
>
>> SCHED_FIFO. pthread could be ported directly on MacOS X and have the
>
>> expected behaviour.
>
>
>
> It will as long as the process has root. I also believe that if you have
>
> root, you can set thr priority higher than 64 too, but I don't know for
>
> sure.
>
>
IIRC, as root, you can go up to 96 without doing TC scheduling. Word of
>
warning, though. IMHO, performance of audio apps isn't acceptable even at
>
the highest non-time constraint thread priority. You can glitch it just
>
by minimzing a window once or twice.
>
>
After adding appropriate time constraint code, I had to do about thirty
>
things at once and bring the machine to a virtual standstill before it
>
glitched. The difference was so unbelievably obvious.
>
>
Kudos to Jim Magee for help with figuring ou sane time constraints. I
>
have diffs against esd and mpg123 with crude approximations of sane TC
>
values and a slight buffer size increase that together work quite well for
>
me, if anyone wants them.
>
>
>
Later,
>
David
>
>
---------------------------------------------------------------------
>
Check out my weekly web comic:
>
http://www.techmagazine.org
>
_______________________________________________
>
coreaudio-api mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________