Commit 0020d9a6 authored by Harry van Haaren's avatar Harry van Haaren

fix #125: track volume fader != silence bug fixed

Fixes dsp bug in how the master diff was calculated,
which left some room for error and hence some just-not-silence
levels sneak through the fader.

Increase the calculation threshold to be more sensitive, so
there is now 10x less creep. Testing here proved that it never
bleeds audio anymore
parent cd1565d0
......@@ -107,7 +107,7 @@ void TrackOutput::setSend( int send, float value )
void TrackOutput::process(unsigned int nframes, Buffers* buffers)
{
//compute master volume lag;
if(fabs(_toMaster-_toMasterLag)>=fabs(_toMasterDiff/10.0))
if(fabs(_toMaster-_toMasterLag)>=fabs(_toMasterDiff/100.0))
_toMasterLag+=_toMasterDiff/10.0;
// get & zero track buffer
float* trackBuffer = buffers->audio[Buffers::RETURN_TRACK_0 + track];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment