• 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
bug in cocoa AU template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in cocoa AU template


  • Subject: bug in cocoa AU template
  • From: "J. C." <email@hidden>
  • Date: Tue, 16 Oct 2007 14:35:38 -0500

I couldn't find this issue in the archives, so I'll mention it in case somebody runs into it!

A couple of days ago I found a bug where when opening an AU Lab containing two or more instances of one of the plug-ins with a cocoa view, one of them would act as the master of the other instances, but only if controling using the Cocoa UI.

I found that in the Cocoa View class in the AU templates, the parameters are declared as globals, causing problems when multiple instances are running. The first member of the struct (the AU) is initialized to "0" in the template, so all of the parameter changes were sent referring to AU '0'.

Maybe this can be corrected in the template by either creating and populating the AUParameter on the fly (which is how the Filter example does it), or by making the parameters members of the class, and initializing them in "setAU:"

jorge

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


_______________________________________________
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


  • Prev by Date: Re: Ring buffer design for MP3 (et. al.) playback
  • Next by Date: Re: Loop notification
  • Previous by thread: Re: Loop notification
  • Next by thread: Is a plugin enough for a render effect?
  • Index(es):
    • Date
    • Thread