traverso-commit
[Top][All Lists]
Advanced

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

[Traverso-commit] traverso/src/core MonoReader.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core MonoReader.cpp
Date: Tue, 22 May 2007 21:15:57 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/05/22 21:15:57

Modified files:
        src/core       : MonoReader.cpp 

Log message:
        and the usual bunch of cleanups afterwards LOL 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/MonoReader.cpp?cvsroot=traverso&r1=1.11&r2=1.12

Patches:
Index: MonoReader.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/MonoReader.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- MonoReader.cpp      22 May 2007 21:14:19 -0000      1.11
+++ MonoReader.cpp      22 May 2007 21:15:57 -0000      1.12
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2006 Remon Sijrier 
+Copyright (C) 2006-2007 Remon Sijrier 
 
 This file is part of Traverso
 
@@ -17,7 +17,6 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 
-$Id: MonoReader.cpp,v 1.11 2007/05/22 21:14:19 r_sijrier Exp $
 */
 
 
@@ -243,7 +242,7 @@
        position -= (m_clip->get_track_start_frame() + 
m_clip->get_source_start_frame());
        
        if (m_rbFileReadPos == position) {
-               printf("ringbuffer allready at position %d\n", position);
+//             printf("ringbuffer allready at position %d\n", position);
                return;
        }
 
@@ -297,7 +296,7 @@
                if (m_isCompressedFile) {
                        toRead = writeSpace / 2;
                }
-               printf("doing a full seek buffer fill\n");
+//             printf("doing a full seek buffer fill\n");
        } else if (m_syncInProgress) {
                // Currently, we fill the buffer completely.
                // For some reason, filling it with 1/4 at a time
@@ -326,14 +325,14 @@
 
 void MonoReader::recover_from_buffer_underrun(nframes_t position)
 {
-       printf("buffer underrun detected!\n");
+//     printf("buffer underrun detected!\n");
        m_bufferUnderRunDetected = 1;
        start_resync(position);
 }
 
 void MonoReader::start_resync( nframes_t position )
 {
-       printf("starting resync!\n");
+//     printf("starting resync!\n");
        m_syncPos = position;
        m_rbReady = 0;
        m_needSync = 1;
@@ -341,7 +340,7 @@
 
 void MonoReader::finish_resync()
 {
-       printf("sync finished\n");
+//     printf("sync finished\n");
        m_needSync = 0;
        m_bufferUnderRunDetected = 0;
        m_rbReady = 1;




reply via email to

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