Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
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