• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
      • From: Kyle Sluder <email@hidden>
    • Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
      • From: "Dave O'Neill" <email@hidden>
References: 
 >Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7 (From: Pascal <email@hidden>)
 >Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7 (From: "Dave O'Neill" <email@hidden>)
 >Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7 (From: Pascal <email@hidden>)
 >Fwd: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7 (From: "Dave O'Neill" <email@hidden>)

  • Prev by Date: Fwd: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
  • Next by Date: Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
  • Previous by thread: Fwd: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
  • Next by thread: Re: from xcode5 to xcode6-beta6, sounds are now distorted on iOS7
  • Index(es):
    • Date
    • Thread