[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] MultiSlider issues
On Dec 20, 2003, at 2:42 PM, Jan Trutzschler v.F. wrote:
do you mean like this: ?
int len = slot->uo->size;
double val;
for(int i =0; i<len; i++){
slotDoubleVal(slot->uo->slots+i, &val);
mYValues[i] = val;
}
yes, but please check for the error return code from slotDoubleVal.
You could set to zero in case of an error, or return an error. your
choice.
--
--- james mccartney james@xxxxxxxxxxxxxx <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language