• 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
high priority timers in user space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

high priority timers in user space


  • Subject: high priority timers in user space
  • From: Stefan Werner <email@hidden>
  • Date: Thu, 11 Sep 2003 10:56:33 +0200

Hi,

I am currently working on a user space audio driver via the AudioHardwarePlugin.h API. My timer for the main processing loop is a CFRunLoopTimer, running in a separate pthread (otherwise it'd hijack the application's RunLoop, which is not desirable). Timing is surprisingly accurate, but I'm getting serious drop outs under higher system loads. What can I do? I was thinking about increasing the priority of the timer thread, but a simple experiment with renice didn't improve anything, so I'm not sure wether a higher thread priority would change anything here. Should I use a different timer? I saw that the PhantomAudioDriver example is using IOKit timers, but are these available to "mortal" user space applications? Is there a timer that will call my callback with close-to-realtime precision/priority?

Thanks,
Stefan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: Spark 2.8 AU issues
  • Next by Date: AU appears twice in logic
  • Previous by thread: RE: Spark 2.8 AU issues
  • Next by thread: AU appears twice in logic
  • Index(es):
    • Date
    • Thread