• 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
Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)


  • Subject: Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
  • From: Joel Reymont <email@hidden>
  • Date: Wed, 05 Dec 2012 20:39:38 +0000

Just want to report that using Obj-C and GCD works just find in HAL
plugins loaded by coreaudiod.

In fact, there are bits of Obj-C and GCD that show up in stack traces
inside coreaudiod itself. There's even a GCD dispatch queue
(com.apple.audio.HALB_DispatchQueue.SerialQueue).

The former was a concern for me because I didn't know if my blocks
would run when inside coreaudiod without manually invoking the
non-returning dispatch_main.

The latter is a revelation because I thought that GCD and dispatch
queues were too slow for audio work.

--------------------------------------------------------------------------
for hire: mac osx device driver ninja. kernel, usb and coreaudio drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
 _______________________________________________
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

  • Follow-Ups:
    • Re: Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
      • From: Paul Davis <email@hidden>
  • Prev by Date: Re: A number of simple questions (still a few unanswered)
  • Next by Date: Re: How to capture audio generated by a render callback, iOS
  • Previous by thread: Re: A number of simple questions (still a few unanswered)
  • Next by thread: Re: Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
  • Index(es):
    • Date
    • Thread