mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
Fixes #125; Track faders set to zero on very low volumes
This commit is contained in:
parent
02fb669470
commit
0ed37a4401
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ TrackOutput::TrackOutput(int t, AudioProcessor* ap) :
|
||||||
|
|
||||||
void TrackOutput::setMaster(float value)
|
void TrackOutput::setMaster(float value)
|
||||||
{
|
{
|
||||||
|
if(value < 0.01)
|
||||||
|
value = 0.f;
|
||||||
_toMaster = value;
|
_toMaster = value;
|
||||||
_toMasterDiff=_toMaster-_toMasterLag;
|
_toMasterDiff=_toMaster-_toMasterLag;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue