void setLeft(CL_TrackOutside type)
void setRight(CL_TrackOutside type)
Set the left or right extend methods. These functions take a
CL_TrackOutside parameter which defines how the track is evaluated
outside of its defined range. The CL_TrackOutside type is defined
as:
- typedef enum {
- CL_TRACK_HOLD,
- CL_TRACK_SLOPE,
- CL_TRACK_CYCLE,
- CL_TRACK_MIRROR,
- CL_TRACK_DEFAULT,
- } CL_TrackOutside;
HOLD extends the track to the left with the value of the first
sample and to the right with the value of the last sample. SLOPE
extends the track with the same slope as the first or last value,
CYCLE continuously repeats the track, MIRROR repeats the
track alternating between forward and backward directions.
DEFAULT extends the track with the default value.