Re: CoreAudio playback issue
Re: CoreAudio playback issue
- Subject: Re: CoreAudio playback issue
- From: Patrick Muringer <email@hidden>
- Date: Mon, 08 Nov 2010 22:42:37 +0100
- Thread-topic: CoreAudio playback issue
Hi Pascal,
You should avoid the call of objective-c method in your callback. This might slow down your callback process and could maybe explain why you have glitches.
Just an idea.
Patrick
Hi,
thanks for you replies.
I am careful not to alloc memory, call UI functions, or NSLog during the callbacks for reading the buffers. The Mixer buffers are filled with datas that are preloaded in a "Soundfile" class. This call has a Queue system that allow multiple overlapping instances of the (same) sound to played - for example 2 hits of the same Kick sound (that is rather long) where the 2nd kick does not stop the 1st one.
Here is a more complete code:
@Frank : when you say you were able of running 9 busses on a 1st gen iPhone, were the sounds overlapping ?
Thanks.
Pascal
_______________________________________________
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
|
_______________________________________________
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