traverso-commit
[Top][All Lists]
Advanced

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

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


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core AudioSource.cpp
Date: Thu, 24 May 2007 18:48:48 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/05/24 18:48:48

Modified files:
        src/core       : AudioSource.cpp 

Log message:
        store the length of the source in the project file

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/AudioSource.cpp?cvsroot=traverso&r1=1.20&r2=1.21

Patches:
Index: AudioSource.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/AudioSource.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- AudioSource.cpp     24 May 2007 17:45:19 -0000      1.20
+++ AudioSource.cpp     24 May 2007 18:48:48 -0000      1.21
@@ -17,7 +17,7 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 
-$Id: AudioSource.cpp,v 1.20 2007/05/24 17:45:19 r_sijrier Exp $
+$Id: AudioSource.cpp,v 1.21 2007/05/24 18:48:48 r_sijrier Exp $
 */
 
 
@@ -75,6 +75,7 @@
        node.setAttribute("name", m_name);
        node.setAttribute("origbitdepth", m_origBitDepth);
        node.setAttribute("wasrecording", m_wasRecording);
+       node.setAttribute("length", m_length);
 
        return node;
 }
@@ -90,6 +91,7 @@
        m_origSongId = e.attribute("origsheetid", "0").toLongLong();
        set_dir( e.attribute("dir", "" ));
        m_id = e.attribute("id", "").toLongLong();
+       m_length = e.attribute("length", "0").toUInt();
        set_name( e.attribute("name", "No name supplied?" ));
        m_origBitDepth = e.attribute("origbitdepth", "0").toInt();
        m_wasRecording = e.attribute("wasrecording", "0").toInt();




reply via email to

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