Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
- Subject: Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
- From: Pascal <email@hidden>
- Date: Mon, 01 Sep 2014 19:12:23 +0200
Dave,
I think you found the origin of the probelm. I tried with MAX_TRACKS = 1 and it sounds fine.
I am indeed setting the render callback on multiple channels of the mixer. Based on the inBusNumber, I read a different audio data (contains in an array[MAX_TRACKS+1]). What I now don’t get is that why my mixer does not properly “mix” multiple channels. Like it used to with xcode5. Has some settings changed with xcode5?
Many thanks Dave.
Pascal
On 1 sept. 2014, at 18:34, Dave O'Neill < email@hidden> wrote: Pascal
Are you setting the render callback on multiple channels of the mixer? If so, you should be using different data structures for each sine wave generator. Otherwise the render callback will be called MAX_TRACKS + 1 times per cycle and that could be distorting your wave. I would normally assume that you would only set the callback once on one channel of the mixer.
|
_______________________________________________
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