Bugs item #3576062, was opened at 2012-10-10 07:23
Message generated for change (Tracker Item Submitted) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3576062&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Ed Kelly (edkelly)
Summary: lpreson~ crashes if not properly initialized

Initial Comment:
[lpreson~] is very likely to crash.
e.g.: start Pd with lpreson~ loaded, create a new [lpreson~] object, turn-audio 
on: crash!

this is because the filter coefficents do not exist yet, but is accessed in the 
dsp routine.

the attached file fixes this, and also moves the t_atom->float conversion code 
into the list-callback (which will supposedly be called less often than the 
perform routine).

finally, the patch uses "t_sample" rather than "t_float" and/or "float", to 
allow this object to work in Pd-doubleprecision builds as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3576062&group_id=55736

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to