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


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core Peak.cpp
Date: Fri, 22 Feb 2008 19:35:42 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       08/02/22 19:35:42

Modified files:
        src/core       : Peak.cpp 

Log message:
        * no longer need to explicitly set ReadSource output rate

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Peak.cpp?cvsroot=traverso&r1=1.84&r2=1.85

Patches:
Index: Peak.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Peak.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- Peak.cpp    30 Jan 2008 13:56:48 -0000      1.84
+++ Peak.cpp    22 Feb 2008 19:35:42 -0000      1.85
@@ -643,8 +643,6 @@
                }
        }
 
-       m_source->set_output_rate(m_source->get_file_rate(), true);
-       
        DecodeBuffer decodebuffer;
        
        do {
@@ -700,7 +698,6 @@
                }
        }
        int rate = m_source->get_file_rate();
-       m_source->set_output_rate(rate, true);
        nframes_t startframe = startlocation.to_frame(rate);
        nframes_t endframe = endlocation.to_frame(rate);
        int startpos = startframe / NORMALIZE_CHUNK_SIZE;
@@ -932,7 +929,6 @@
 
 nframes_t PeakDataReader::read(DecodeBuffer* buffer, nframes_t count)
 {
-       PENTER;
        if ( ! (count && (m_readPos < m_nframes)) ) {
                return 0;
        }




reply via email to

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