jamoma / JamomaCore

Jamoma Frameworks for Audio and Control Structure
Other
36 stars 14 forks source link

mAttributeBypass in TTAudioObjectBase doesn't seem to be initialized #394

Open jcelerier opened 8 years ago

jcelerier commented 8 years ago

@theod weirdly enough, when adding an OSC device (Millumin) in i-score, it seems that the code ends up calling TTAudioObjectBase::setProcess at some point.

tap commented 8 years ago

It is initialized here:

https://github.com/jamoma/JamomaCore/blob/master/DSP/library/source/TTAudioObjectBase.cpp#L53

jcelerier commented 8 years ago

The problem is in https://github.com/jamoma/JamomaCore/blob/master/DSP/library/source/TTAudioObjectBase.cpp#L51 : setProcess does if (!attrBypass) { ... } and at this point it isn't initialized.

tap commented 8 years ago

Ah, tricky! Good catch!