Closed pwnified closed 2 years ago
Thanks for catching that, the intention was probably for it to be negative at the time of writing. It actually doesn't matter though because bpm below 20 are not in the allowable range and all beat time values are technically valid for ABLLinkResetBeatTime
. So this would be in-band signaling no matter which value you chose. And this is only relevant if you consider the audio engine independent of LinkHut because the LinkHut program only resets the beat time to zero.
Just a minor nitpick, the way DBL_MIN is used in the LinkHut example as a magic number to detect when changes are made, but DBL_MIN is actually a positive number which falls in the range of allowable values. Perhaps you meant to use -DBL_MAX?