Re: AudioOutputUnitStart very slow... any ideas?
Re: AudioOutputUnitStart very slow... any ideas?
- Subject: Re: AudioOutputUnitStart very slow... any ideas?
- From: Jean-Yves Avenard <email@hidden>
- Date: Sun, 15 Apr 2012 11:44:08 +1000
On 14 April 2012 19:38, Aran Mulholland <email@hidden> wrote:
> Why don't you just leave it running? Only provide samples when
> playback is necessary.
This is what I ended up doing... Call AudioOutputUnitStart when the
application start, then play the right amount of audio frames, and
once this have lapsed I play silence (0) until new audio is to be
played.
I am afraid that now I have a secondary thread running at all time,
called rather frequently because I have a very small audio buffer (to
reduce latency).
This surely will impact performance. Though I haven't measured that effect yet.
_______________________________________________
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