• 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
Beginner Problem w/ Core Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beginner Problem w/ Core Audio


  • Subject: Beginner Problem w/ Core Audio
  • From: n ketter <email@hidden>
  • Date: Tue, 09 Oct 2012 06:41:10 -0700

Hi all,

I'm working through the Adamson and Avila book on Core Audio and finished the Chapter 7 AUGraphSineWave project. I'm having the following issue with both my version of the code and the sample code provided w/ the book.

The program stops just after the sine wave plays, with the error:


Thread 1: EXC_BAD_INSTRUCTION (code=12, subcode=0x0)

The program stops on the call to AudioOutputUnitStop(player.outputUnit); however when I comment out that line and even the following two lines I get the same error when the program hits thereturn 0; at the bottom.

The nature of the error leads me to think there might be an issue with trying to access the outputUnit member of the player struct, however nowhere do I free or release this memory, so I'm not sure why it would be missing.

Any ideas for what might be causing this or how to troubleshoot?

Thanks in advance,

Nick

 _______________________________________________
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: Beginner Problem w/ Core Audio
      • From: Chris Adamson <email@hidden>
  • Prev by Date: Re: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
  • Next by Date: Re: Beginner Problem w/ Core Audio
  • Previous by thread: Re: Please help MIDI on IOS is driving me insane!
  • Next by thread: Re: Beginner Problem w/ Core Audio
  • Index(es):
    • Date
    • Thread