Beginner Problem w/ Core Audio
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