Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quick and dirty way to play some data?



On Feb 16, 2005, at 13:10, Marc Poirier wrote:
On Feb 16, 2005, at 4:05 PM, Ben Dougall wrote:

thanks very much for that Doug, much appreciated.

i'm the following errors for this part though:

// initialize
verify_noerr(AudioUnitInitialize(outputAU));

// start playing
verify_noerr(AudioOutputUnitStart(outputAU));

ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_AudioOutputUnitStart
_AudioUnitInitialize
_AudioUnitSetProperty
_FindNextComponent
_OpenAComponent

is this because i'm doing something wrong or are those panther only commands? -- i'm using jaguar.

No, the problem is that you're not linking against the frameworks where those live: AudioUnit.framework and Carbon.framework

Actually you want CoreServices.framework instead of Carbon.framework.

If this turns into production code, you'd want to replace all the verify_noerr() macros with real error handling.

Doug

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Re: quick and dirty way to play some data? (From: Ben Dougall <email@hidden>)
 >Re: quick and dirty way to play some data? (From: Marc Poirier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.