traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/core Peak.cpp Peak.h


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core Peak.cpp Peak.h
Date: Mon, 19 Nov 2007 11:19:50 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/11/19 11:19:50

Modified files:
        src/core       : Peak.cpp Peak.h 

Log message:
        * add a couple of extra zoomlevels for microview

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Peak.cpp?cvsroot=traverso&r1=1.77&r2=1.78
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Peak.h?cvsroot=traverso&r1=1.28&r2=1.29

Patches:
Index: Peak.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Peak.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- Peak.cpp    12 Nov 2007 18:54:10 -0000      1.77
+++ Peak.cpp    19 Nov 2007 11:19:49 -0000      1.78
@@ -46,7 +46,7 @@
 
 int Peak::zoomStep[] = {
        // non-cached zoomlevels.
-       1, 2, 4, 8, 16, 32,
+       1, 2, 4, 8, 12, 16, 24, 32,
        // Cached zoomlevels
        64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 
262144, 524288, 1048576 
 };

Index: Peak.h
===================================================================
RCS file: /sources/traverso/traverso/src/core/Peak.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- Peak.h      12 Nov 2007 18:54:10 -0000      1.28
+++ Peak.h      19 Nov 2007 11:19:49 -0000      1.29
@@ -95,8 +95,8 @@
        Q_OBJECT
 
 public:
-       static const int ZOOM_LEVELS = 20;
-       static const int SAVING_ZOOM_FACTOR = 6;
+       static const int ZOOM_LEVELS = 22;
+       static const int SAVING_ZOOM_FACTOR = 8;
        static const int MAX_ZOOM_USING_SOURCEFILE = SAVING_ZOOM_FACTOR - 1;
        // Use ~ 1/4 the range of peak_data_t (== short) so we have headroom
        // for samples in the range [-4, +4] or + 12 dB




reply via email to

[Prev in Thread] Current Thread [Next in Thread]