Mailing Lists: Apple Mailing Lists

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

advice on GUI notification




Just reposting in hopes of soliciting some help (it's the last time, I promise :-)



Hi all:

So this is a last ditch effort on my part to resolve an issue I've been having. I am using a Carbon (I know, I know, Cocoa is the wave of the future ... whatever ;-) and quicktime frameworks to implement a GUI. I am having mixed results, with some hosts, including DP and Bidule, demonstrating proper functioning. But in AULab the controls do not update as I would expect. What is especially weird is that the parameters are being changed in accordance with my mouse clicks and drags -- I can hear the changes in the sound. However, the GUI is not redrawing to reflect this -- as far as I know, this is only happening in AULab, but it still has me worried. Everything in auval passes, including the custom carbon view. Has anyone had experience with this before?

Best
~chris b


OK maybe I can clarify what's going on here, and I'll be able to facilitate better interaction.

I am using Carbon Event Manager Functions (derived from Urs' CAUGuiSDK) which registers a Toolbox Object Class and passes reference to a global callback function. This callback function receives user commands and handles the drawing. When the callback is made from the host, all of the drawing is done properly and as expected in some hosts. But in other hosts (AULab and AudioUnitsHosting included :-/ ) the callback is not being made on mouse commands. Therefore I can change a parameter, see no visual alteration (no callback being made), close and reopen the GUI and the controls will be at the proper position, I guess b/c re-initializing the GUI is causing a callback, so all of my draws are being handled. I get proper functioning (mouse control triggers callback which does the drawing) in Peak 4 and in Bidule 0.96.

Please, any advice would be greatly appreciated!

Regards
~chris b

_______________________________________________
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


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.