Re: AUCarbonViewControl bug?
Re: AUCarbonViewControl bug?
- Subject: Re: AUCarbonViewControl bug?
- From: Os <email@hidden>
- Date: Wed, 11 Feb 2004 23:26:53 +0000
Luke,
many thanks! I'll check this fix out asap.
regards,
os.
(expert sleepers)
On 11 Feb 2004, at 22:42, email@hidden wrote:
From: Luke Bellandi <email@hidden>
Subject: Re: AUCarbonViewControl bug?
Date: Wed, 11 Feb 2004 12:01:58 -0800
To: CoreAudio list <email@hidden>
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
email@hidden
http://www.collective.co.uk/
_______________________________________________
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.