Skip to content

t_int casts

Jonathan Wilkes requested to merge t_int-casts-squashed into master

This adds an explicit cast to t_int for any s_n argument in a call to dsp_add. That ensures well-defined behavior with the varargs routines in dsp_add so that the argument (and any subsequent arguments) can be retrieved properly in the relevant perfroutine.

Also added is a test to do the following:

  1. turn on dsp for every object tested. This ensures that the default dsp path is used to build a signal graph.
  2. compute a block of audio. This ensures that the object's perfroutine is called back without any crashers or memory errors.

Merge request reports