Skip to content

Commit

Permalink
Revert clipping level change
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine committed Jan 3, 2019
1 parent 2239dc3 commit 38215c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/MixHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ bool isSilent( const sampleFrame* src, int frames )
/*! \brief Function for sanitizing a buffer of infs/nans - returns true if those are found */
bool sanitize( sampleFrame * src, int frames )
{
{
bool found = false;
for( int f = 0; f < frames; ++f )
{
for( int c = 0; c < 2; ++c )
{
if( isinff( src[f][c] ) || isnanf( src[f][c] ) )
Expand All @@ -95,7 +95,7 @@ bool sanitize( sampleFrame * src, int frames )
}
else
{
src[f][c] = qBound( -100.0f, src[f][c], 100.0f );
src[f][c] = qBound( -4.0f, src[f][c], 4.0f );
}
}
}
Expand Down

0 comments on commit 38215c8

Please sign in to comment.