• 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
rendered audio problem with iOS 8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rendered audio problem with iOS 8


  • Subject: rendered audio problem with iOS 8
  • From: Bob Sabiston <email@hidden>
  • Date: Sat, 14 Feb 2015 13:11:47 -0600

Hello,

  I am trying to update a videogame for iOS8.  The game synthesizes its own sounds, and when compiling using the iOS8 SDK I got a lot of these errors:

'AudioUnitSampleType' is deprecated: The concept of canonical formats is deprecated

By looking around online I found some suggestions to replace ‘AudioUnitSampleType' with ‘SInt32’.  So I did that.

I also replaced:

	stereoStreamFormat.mFormatFlags       = kAudioFormatFlagsAudioUnitCanonical;

with this:

	stereoStreamFormat.mFormatFlags       = kAudioFormatFlagIsFloat | kAudioFormatFlagsNativeEndian | kAudioFormatFlagIsPacked | kAudioFormatFlagIsNonInterleaved;


Now, I don’t really know what I am doing here, I was just following what someone on the web said.  But this *almost* works.  It compiles and the sounds play like they should — *except* there is noise present, a crackling sound during some of the noises that was not there before.

I’m really hoping someone here knows what might cause this and can suggest a fix!?

Thanks
Bob



 _______________________________________________
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


  • Prev by Date: Re: Newbie question: Looking for advice on how best to integrate a 24x24 audio-effect algorithm into a MacOS/X environment
  • Next by Date: AUParameterSet
  • Previous by thread: Re: Newbie question: Looking for advice on how best to integrate a 24x24 audio-effect algorithm into a MacOS/X environment
  • Next by thread: AUParameterSet
  • Index(es):
    • Date
    • Thread