Re: Synthesizing sound for the iPhone
Re: Synthesizing sound for the iPhone
On Fri, Dec 19, 2008 at 08:35:08PM +0100, Niklas Saers wrote:
> Hi Marc,
>
>
> I haven't used AudioQueue and I don't have time to look at your code but
> attached is an example of exactly what you want to do using the RemoteIO
> AudioUnit, which should be more efficient than using AudioQueue anyway.
> It's objc++ but the only thing that's c++ in it is the use of
> std::vector to store the buffer data.
>
>
> Wow, thanks a bunch. :-) Couple of noob'ish questions:
>
> I just create a new project AudioUnitTest, rename AudioUnitTestAppDelegate.m
> to AudioUnitTestAppDelegate.mm, replace it with your code, add
> "@synthesize viewController;", add the CoreAudio framework and compile, right?
> This is what I did, but when linking the linker sais "framework not found
> AudioUnit", both on target Simulator and Device, all versions. Any suggestions
> to what is going on?
Oh right, I forgot that the framework business is really confusing.
Should have just given you the whole project. You need to add the
AudioToolbox framework, that's it. Don't add AudioUnit.
Marc
_______________________________________________
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