Csound Csound-dev Csound-tekno Search About

[Csnd] iOS: Fixed bug in CachedButton

Date2013-02-04 17:16
FromSteven Yi
Subject[Csnd] iOS: Fixed bug in CachedButton
Hi All,

For those using iOS, a bug was reported to me where CachedButton's
were always starting off with a value of 1 for the first ksmps of
processing.  There looked to be a stray bit of test code at lin 51:

    [mButton sendActionsForControlEvents:UIControlEventTouchDown];

That was unnecessary.  Taking that out fixes things.  The change is in
GIT, but if you're using Csound for iOS you can modify that locally
until we do the next Csound for iOS release.

Thanks!
steven