#219 fix for vline~/switch~ unbounded CPU usage

bugfix
open
puredata (385)
5
2008-05-04
2008-05-04
No

[ 1736518 ] [switch~]ing [vline~] causes ever increasing CPU usage

https://sourceforge.net/tracker/index.php?func=detail&aid=1736518&group_id=55736&atid=478070

See attached patch against d_ctl.c from pd-0.41-4 from Miller's site.

The intent:

prune expired segments when adding segments, not just when the dsp method is called.

Side effects:

removed an unused field that was never read from
also fixed some -Wall warnings

Discussion

  • Claude Heiland-Allen

    vline-dsp-off-cpu-rise-bugfix.patch against pd-0.41-4/src/d_ctl.c

     
  • Claude Heiland-Allen

    • assigned_to: nobody --> millerpuckette
     


Anonymous

Cancel  Add attachments