[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] traverso/src/core AudioClip.cpp
From: |
Remon Sijrier |
Subject: |
[Traverso-commit] traverso/src/core AudioClip.cpp |
Date: |
Sat, 07 Mar 2009 16:36:18 +0000 |
CVSROOT: /sources/traverso
Module name: traverso
Changes by: Remon Sijrier <r_sijrier> 09/03/07 16:36:18
Modified files:
src/core : AudioClip.cpp
Log message:
* call set_track_end_location() after set_source_end_location() so the
positionChanged() signal will be emitted after the length of the clip has been
updated by set_source_end_location()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/AudioClip.cpp?cvsroot=traverso&r1=1.168&r2=1.169
Patches:
Index: AudioClip.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/AudioClip.cpp,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -b -r1.168 -r1.169
--- AudioClip.cpp 7 Feb 2009 17:41:25 -0000 1.168
+++ AudioClip.cpp 7 Mar 2009 16:36:18 -0000 1.169
@@ -298,6 +298,7 @@
void AudioClip::set_right_edge(TimeRef newRightLocation)
{
+
if (newRightLocation < TimeRef()) {
newRightLocation = TimeRef();
}
@@ -312,8 +313,8 @@
movingToRight = availableTimeRight;
}
- set_track_end_location( m_trackEndLocation + movingToRight );
set_source_end_location( m_sourceEndLocation + movingToRight );
+ set_track_end_location( m_trackEndLocation + movingToRight );
} else if (newRightLocation < m_trackEndLocation) {
@@ -325,8 +326,8 @@
movingToLeft = availableTimeLeft -
TimeRef(nframes_t(4), get_rate());
}
- set_track_end_location( m_trackEndLocation - movingToLeft );
set_source_end_location( m_sourceEndLocation - movingToLeft);
+ set_track_end_location( m_trackEndLocation - movingToLeft );
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Traverso-commit] traverso/src/core AudioClip.cpp,
Remon Sijrier <=