• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Parameters & Listeners & Host & Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameters & Listeners & Host & Cocoa


  • Subject: Re: Parameters & Listeners & Host & Cocoa
  • From: William Stewart <email@hidden>
  • Date: Thu, 8 Jan 2004 16:56:16 -0800

Marc,

Yes - running against a pre-QT 6.4/Jag or Panther system, you'd have to do a dynamic load of the AUEvent*** calls as they won't be found in those systems (thus the failure)

We do this ourselves in a number of places and it is probably good for us to add this to the SDK so you can easily rip this code out and use it.

Bill

On 18/12/2003, at 1:24 PM, Marc Poirier wrote:

William Stewart wrote:

I'd recommend taking Marc's idea and doing both this and the
AUEventListener begin/end gesture for the meantime, then at some point
remove the calls to TellListener

I'm encountering some troubles with this, well, basically I mean crashing
in pre-10.3 and pre-QT 6.4 systems. Here's a console.log bit from when I
tried to load one of these plugins in AUH in OS X 10.2.4 with QT 6.0.1:

2003-12-18 14:58:52.110 AudioUnitHosting[568] CFLog (21): Error loading : error code 7, error number 0 (dyld:
/Developer/Examples/CoreAudio/Services/AudioUnitHosting/build/ AudioUnitHosting.app/Contents/MacOS/AudioUnitHosting Undefined symbols:
/Users/marc/Library/Audio/Plug-Ins/Components/Buffer Override.component/Contents/MacOS/Buffer Override undefined reference to _AUEventListenerNotify expected to be defined in AudioToolbox
)
DebugAssert: AUGraphNewNode(mGraph, &inDesc, 0, inClassData, &mTargetNode)== noErr [-50] exception [line 302, file AudioUnitHosting.cpp]

So the error is not that AUEventListenerNotify is being (attempted to be)
executed when it's not available. It doesn't even get that far. The
error is that the plugin's executable can't even be loaded to start with
because of the unresolved symbol. So what's up with that? Is it going to
be no longer to run my plugins without QT 6.4 now that I use
AUEventListenerNotify in my code? I'm conditionalizing any calls to it
with a check to make sure that AudioToolbox 1.3 is available, but as I
said, it's not even getting that far; OpenAComponent is failing. Any tips
would be much appreciated...

Thanks,
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


--
mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Parameters & Listeners & Host & Cocoa
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: [OT] Mail hangs real-time processes
  • Next by Date: Re: HostCallback_GetBeatAndTempo
  • Previous by thread: Re: problem w/ Matrix Mixer
  • Next by thread: Re: Parameters & Listeners & Host & Cocoa
  • Index(es):
    • Date
    • Thread