Browse Source

Fix problem interaction between normalization and zooming.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
8a85a8c217
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      Peaks.C

+ 6
- 1
Peaks.C View File

@@ -294,7 +294,12 @@ Peaks::normalization_factor( float fpp, nframes_t start, nframes_t end ) const
{
float s;

fill_buffer( fpp, start, end );
// fill_buffer( fpp, start, end );

if ( end - start < _peaks->chunksize * 4 )
fill_buffer( _clip->length() / 4, start, end );
else
fill_buffer( _clip->length(), start, end );

Peak p = peak( start, end );



Loading…
Cancel
Save