View Single Post
Old 01-26-2018, 05:44 AM   #2
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

This commented line in the default function was the reason of the issue:
Code:
static double charToPan(unsigned char val)
{
	double pos = ((double)val*1000.0 + 0.5) / 127.0;

	pos = (pos - 500.0) / 500.0;
	//if (fabs(pos) < 0.08) pos = 0.0;

	return pos;
}
fundorin is offline   Reply With Quote