• 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: Native CoreAudio plugin for Herrie - proper API usage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native CoreAudio plugin for Herrie - proper API usage?


  • Subject: Re: Native CoreAudio plugin for Herrie - proper API usage?
  • From: Ed Schouten <email@hidden>
  • Date: Tue, 19 Jun 2007 01:07:54 +0200

Hello Jeff,

* Jeff Moore <email@hidden> wrote:
>  My biggest concern would be how you are handling the critical section. It is
>  never a good thing to block inside your IOProc, so you have to finesse this
>  so that you don't lock any mutexes or spin in a spin lock (which won't
>  behave correctly on the IO thread anyway).

I'm not familiar with the entire design behind CoreAudio, but does this
mean that the thread that handles the IOProc is actually an interrupt
thread, allocated inside a user process?

Anyway, I got rid of the mutex usage inside of the IOProc; some atomic
integer operations to set the buffer length will suffice. Thanks for
your feedback! :-)

Yours sincerely,
--
 Ed Schouten <email@hidden>
 WWW: http://g-rave.nl/

Attachment: pgpplSPps0sfx.pgp
Description: PGP signature

 _______________________________________________
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: Native CoreAudio plugin for Herrie - proper API usage?
      • From: Jeff Moore <email@hidden>
References: 
 >Native CoreAudio plugin for Herrie - proper API usage? (From: Ed Schouten <email@hidden>)
 >Re: Native CoreAudio plugin for Herrie - proper API usage? (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: Native CoreAudio plugin for Herrie - proper API usage?
  • Next by Date: Re: Native CoreAudio plugin for Herrie - proper API usage?
  • Previous by thread: Re: Native CoreAudio plugin for Herrie - proper API usage?
  • Next by thread: Re: Native CoreAudio plugin for Herrie - proper API usage?
  • Index(es):
    • Date
    • Thread