Re: How to set buffer size for Audio Output Unit?
Re: How to set buffer size for Audio Output Unit?
- Subject: Re: How to set buffer size for Audio Output Unit?
- From: Chris Rogers <email@hidden>
- Date: Thu, 30 Aug 2001 11:04:37 -0800
Hi Roger,
Thanks for the advice. Currently I am doing something quite similar
to what you propose. To generate the samples in the larger buffer
I create a thread (NSThread). The AudioUnitCallback then simply
talkes the samples from this buffer and writes them into the small
supplied buffer.
I think if you follow Roger's suggestion, you won't need to resort to using a
separate thread to render (which should definitely be avoided if possible).
Chris