Quote:
Originally Posted by Mich
Thank god this thread exists =)
Thank you very much for posting a fix.
I took the changes posted here and made a small tweak. Instead of replacing all the AssertNoErrors in the code, I changed the macro:
#define AssertNoError(inMessage, inHandler) \
if(result != noErr) \
{ \
printf("%s: %d\n", inMessage, (int)result); \
}
Compiling fine and dandy now!
|
Sorry to bring back an old thread but I am just starting out with some example app sources and they are all for 2.1 and use soundengine.cpp
I cannot get past the errors even with these tips. Can someone share the source of soundengine.cpp with the corrections to the code that allow it to compile? I have googled several times and not found the "fixed" code fully listed anywhere. Can someone help me out? I am completely done with my first app just need to test it out but got stuck with the old code. Thanks.
Joe