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 anymoremain
parent
cd1565d073
commit
0020d9a672
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue