Re: crashing in calls to AudioConverter on 10.3.9
Re: crashing in calls to AudioConverter on 10.3.9
- Subject: Re: crashing in calls to AudioConverter on 10.3.9
- From: Christopher Ashworth <email@hidden>
- Date: Wed, 22 Mar 2006 19:53:44 -0500
On Mar 22, 2006, at 7:39 PM, William Stewart wrote:
The AudioConverter is intentionally not thread safe - that is, you
can't be in one thread, calling the Reset call, while in another
thread calling the convert call. If you are sharing an instance of
the converter in multiple threads, you'll have to ensure single
access through a mutex or some similar technique.
This is the only idea I've had so far--that I'm not ensuring thread
safety. I had thought everything was safely wrapped in a lock, but
I will re-audit to look for unprotected AudioConverter calls. The
10.3.9 vs 10.4 thing may just be a red herring that was throwing me
off track. I prolly shouldn't have jumped to the list before triple-
checking the threading issue.
Thank you,
C
P.S.: Also, as a side note, I don't see how you guys get so much
done while simultaneously providing so much feedback via the list.
It is very, very appreciated.
_______________________________________________
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