Re: AUCarbonViewControl bug?
Re: AUCarbonViewControl bug?
- Subject: Re: AUCarbonViewControl bug?
- From: Luke Bellandi <email@hidden>
- Date: Wed, 11 Feb 2004 12:01:58 -0800
We've corrected this AUCarbonViewControl problem, and the fix will be
available in our next SDK.
In the meantime, you can implement our fix with the following code
diff's:
AUCarbonViewControl.h:
----------------------------------
[1] change mInControlInitialization from a Boolean to an int.
AUCarbonViewControl.cpp:
----------------------------------
[1] add "mInControlInitialization(0)" to constructor
[2] in 'AUCarbonViewControl::Bind()' change "mInControlInitialization =
true;" to "mInControlInitialization = 1;"
[3] in 'AUCarbonViewControl::Bind()' add "mInControlInitialization =
0;" at the very end of the call (after "Update(true);")
[4] at the very start of
'AUCarbonViewControl::ParameterToControl(Float32 paramValue)' add the
line "++mInControlInitialization;"
[5] at the very end of 'AUCarbonViewControl::ParameterToControl(Float32
paramValue)' add the line "--mInControlInitialization;"
[6] at the start of 'AUCarbonViewControl::ControlToParameter()', remove
the line "mInControlInitialization = false;"
Thanks all for bringing it to our attention.
Best,
Luke
On Feb 7, 2004, at 8:42 AM, Urs Heckmann wrote:
Hmmm,
this looks like they added something that has to be called after
constructing an AUCarbonViewControl... something like an Initialize()
for Controls?!?
Michael? Are you around?
Cheers,
;) Urs
Am Samstag, 07.02.04 um 15:27 Uhr schrieb Os:
That's reassuring, that it's not just me having this problem.
My solution at the moment is to comment out line 139 of
AUCarbonViewControl.cpp
if (mInControlInitialization == true) {
mInControlInitialization = false;
// return;
}
cheers,
os.
_______________________________________________
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.
_______________________________________________
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.