PDA

View Full Version : Any one tried to link to iphone AudioUnit framwork




caoxiang
Mar 12, 2008, 12:04 AM
Apple said they provide AudioUnit framework in iPhone SDK. But what I can found are just headers without any static library.

Did they forget this?



Sayer
Mar 12, 2008, 06:53 AM
The framework is the same as for the Mac OS X SDK.

AudioUnits are like plugins, they have a defined interface and that's about it.

HiRez
Mar 12, 2008, 11:15 AM
I thought it was limited on the iPhone, didn't they say only 3 audio units were provided? Anyway, if you figure out some CoreAudio stuff on the iPhone please post some tips, code, whatever, I want to explore this myself.

caoxiang
Mar 12, 2008, 11:38 AM
"
How do I minimize playback latency?
If immediate playback is important, such as for sound effects in games or time-critical user feedback in applications, make direct use of the IO Remote audio unit. You can also use OpenAL in iPhone OS, which employs the IO Remote audio unit for low latency. See "How do I use OpenAL to play and position sounds?"
"

However, strange enough, the apple do provide us with the audiounit framework headers, but they forget to provide the static library which makes my test program can never link. I do not know if my SDK missed something or it's a bug of the SDK. Anyway, I'm looking for solution of low latency audio streaming.

bump

metanoia
Oct 3, 2008, 02:08 PM
So now that the NDA is gone, anyone have any solutions/sample code to deal with this? Low Latency Audio would be grrreat!

TekkNick
Oct 10, 2008, 01:43 PM
Add AudioToolbox.framework instead and it will work.