Re: AURender Call back function
Re: AURender Call back function
- Subject: Re: AURender Call back function
- From: Gabriele Palmas <email@hidden>
- Date: Wed, 25 Feb 2009 21:04:15 -0500
I add an update.
I have include the path search for the header file into my project settings. That solves the problem of not finding the headers.
However I still have 198 errors.
Here what happened:
Building target “MyPlayer” of project “MyPlayer” with configuration “Debug” — (198 errors, 9 warnings)
cd /Users/gabry/Documents/Apps/MyPlayer
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/gabry/Documents/Apps/MyPlayer/build/MyPlayer.build/Debug-iphonesimulator/MyPlayer.build/MyPlayer-generated-files.hmap -I/Users/gabry/Documents/Apps/MyPlayer/build/MyPlayer.build/Debug-iphonesimulator/MyPlayer.build/MyPlayer-own-target-headers.hmap -I/Users/gabry/Documents/Apps/MyPlayer/build/MyPlayer.build/Debug-iphonesimulator/MyPlayer.build/MyPlayer-all-target-headers.hmap -iquote /Users/gabry/Documents/Apps/MyPlayer/build/MyPlayer.build/Debug-iphonesimulator/MyPlayer.build/MyPlayer-project-headers.hmap -F/Users/gabry/Documents/Apps/MyPlayer/build/Debug-iphonesimulator -iquote/Developer/Examples/CoreAudio/PublicUtility/AudioFile-new -I/Users/gabry/Documents/Apps/MyPlayer/build/Debug-iphonesimulator/include -I/Developer/Examples/CoreAudio/PublicUtility/AudioFile-new -I/Developer/Examples/CoreAudio/PublicUtility -I/Developer/Examples/CoreAudio/PublicUtility/AudioFile-new -I/Developer/Examples/CoreAudio/PublicUtility/AudioFilePlayImpl -I/Developer/Examples/CoreAudio/PublicUtility/Cocoa -I/Developer/Examples/CoreAudio/PublicUtility/Latency-Panther -I/Users/gabry/Documents/Apps/MyPlayer/build/MyPlayer.build/Debug-iphonesimulator/MyPlayer.build/DerivedSources -include /var/folders/k3/k3LUUNVTHTeWWZS65RE6W++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MyPlayer_Prefix-dkicvlyhbbjnnlhcoynzcdqrrytx/MyPlayer_Prefix.pch -c /Users/gabry/Documents/Apps/MyPlayer/Classes/MyPlayerAppDelegate.m -o /Users/gabry/Documents/Apps/MyPlayer/build/MyPlayer.build/Debug-iphonesimulator/MyPlayer.build/Objects-normal/i386/MyPlayerAppDelegate.o
In file included from /Developer/Examples/CoreAudio/PublicUtility/AudioFile-new/CABufferQueue.h:44,
from /Developer/Examples/CoreAudio/PublicUtility/AudioFile-new/CAAudioFileStreamer.h:44,
from /Users/gabry/Documents/Apps/MyPlayer/Classes/MyPlayerAppDelegate.h:16,
from /Users/gabry/Documents/Apps/MyPlayer/Classes/MyPlayerAppDelegate.m:9:
/Developer/Examples/CoreAudio/PublicUtility/CAPThread.h:71: error: syntax error before 'CAPThread'
......
Other hundreds of line...
Any clue?
Thanks.
Gab
On Wed, Feb 25, 2009 at 8:30 PM, Gabriele Palmas
<email@hidden> wrote:
Ok,
sorry for not providing enough info.
The CAAudioFileStreamer.h doesn't compile with 517 errors. I don't believe I have to past all of them. ;-)
Now the reasons of so many errors is because it cannot find many others file (headers and implementation) for other classes.
So the question now change and I ask did you include all the files .h and .ccp that CAAudioFIleStremer needs in you application? There is any way to tell the compiler "go and search for this files"?
Thanks.
GabOn Wed, Feb 25, 2009 at 8:20 PM, Jens Alfke
<email@hidden> wrote:
On Feb 25, 2009, at 5:00 PM, Gabriele Palmas wrote:
Can anyone please send me a list of basic operation I have to do in my Audio Unit Render call back function. The only example Apple provides is MixMash but I don't understand how I can make a buffer list from my file audio file. I try to use CAAudioFileStreamer.h but it does not compile to me.
If you want specific answers, you need give more specific information.
For example: What errors do you get compiling CAAudioFileStreamer? (Copy and paste the error messages.)
You really should try to use that code instead of figuring out how to implement the same functionality from scratch.
—Jens
_______________________________________________
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