• 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: 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]

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


  • Subject: Re: Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
  • From: Paul Davis <email@hidden>
  • Date: Wed, 05 Dec 2012 16:06:35 -0500




On Wed, Dec 5, 2012 at 3:39 PM, Joel Reymont <email@hidden> wrote:
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.

coreaudiod is almost certainly a multithreaded process, and it almost certainly contains realtime and non-realtime components.

unless you have clear evidence of the use of GCD within a realtime thread inside coreaudiod, i would continue with your existing belief.
 _______________________________________________
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: Joel Reymont <email@hidden>
References: 
 >Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!) (From: Joel Reymont <email@hidden>)

  • Prev by Date: Re: How to capture audio generated by a render callback, iOS
  • Next by Date: Re: How to capture audio generated by a render callback, iOS
  • Previous by thread: Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
  • Next by thread: Re: Using Objective-C and GCD in HAL plugins / user-space audio drivers (it works!)
  • Index(es):
    • Date
    • Thread