Re: Native CoreAudio plugin for Herrie - proper API usage?
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