ImixSlideChannel

The ImixSlideChannel function allows you to order iMixer to change value smoothly to the specified value. If the slide is not smooth enough try to encrease TPS by the ImixSetSfxTPS function.
bool	ImixSlideChannel(
  int    handle,  //	channel handle
  DWORD  Final,   //	final falue
  DWORD  ms,      //	time of the slide in ms
  DWORD  Type     //	slide type: 0-pith, 1-volume, 2-panning
);

Parameters

handle
Channel handle provided by ImixPlaySample.
Final
final falue of the slide
ms
Time of the slide in ms. This function is not presise. It updates channel value every tick.
Type
Type of the slide. Now 3 types of slide are supported: 0 - pitch 1 - volume 2 - panning There are corresponding constants defined in imx.h file.

Return Values

If the function succeeds, the return value is true.

If the function fails, the return value is false.

Remarks

If you experience clicks while doing panning slide try to increase tps.