mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
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
This commit is contained in:
parent
cd1565d073
commit
0020d9a672
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue