• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Audio thread priority
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Audio thread priority


  • Subject: Re: Core Audio thread priority
  • From: Stéphane Letz <email@hidden>
  • Date: Fri, 15 Oct 2010 09:15:33 +0200

>
> On Thu, Oct 14, 2010 at 11:27 PM, B.J. Buchalter <email@hidden> wrote:
>>
>> On Oct 14, 2010, at 11:10 PM, Paul Davis wrote:
>>
>>> thankfully, OS X makes this vastly simpler than most pthread-based
>>> systems. the jack code to do this is 1 line:
>>>
>>>       setThreadToPriority(thread, 96, TRUE, 10000000);
>>
>> Actually, that is a call to something that you have implemented in Jack.
>
> actually, no. this is an existing Mach or CoreFoobar call, AFAIK.
> Stephane can comment (and probably will).
>
> --p
>
>


JACK what we precisely do is:

- the "period, computation, constraint" parameters of the server IO RT time constraint thread are read once

- there values are transmitted to each JACK client (actually are part of a server/clients shared memory zone)

- when run in RT (the default), each JACK client starts a RT time constraint thread and gives it the same "period, computation, constraint" parameters used in the server.

Regards.

Stéphane Letz

 _______________________________________________
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

  • Prev by Date: Re: Virtual audio device glitches
  • Next by Date: Re: Virtual audio device glitches
  • Previous by thread: Re: Core Audio thread priority
  • Next by thread: Problems with compilation on Snow leopard for target 10.5
  • Index(es):
    • Date
    • Thread