projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove all use of nframes_t.
[ardour.git]
/
gtk2_ardour
/
region_editor.cc
diff --git
a/gtk2_ardour/region_editor.cc
b/gtk2_ardour/region_editor.cc
index 61e2939c099bc4f17671ca746a5f989f81efeb8f..c95d9bbd20a89a20f89fa5eaa35bc8279e0e5178 100755
(executable)
--- a/
gtk2_ardour/region_editor.cc
+++ b/
gtk2_ardour/region_editor.cc
@@
-291,7
+291,7
@@
RegionEditor::end_clock_changed ()
void
RegionEditor::length_clock_changed ()
{
void
RegionEditor::length_clock_changed ()
{
-
nframes
_t frames = length_clock.current_time();
+
framecnt
_t frames = length_clock.current_time();
_session->begin_reversible_command (_("change region length"));
_session->begin_reversible_command (_("change region length"));
@@
-343,7
+343,7
@@
RegionEditor::bounds_changed (const PropertyChange& what_changed)
if (what_changed.contains (ARDOUR::Properties::sync_position) || what_changed.contains (ARDOUR::Properties::position)) {
int dir;
if (what_changed.contains (ARDOUR::Properties::sync_position) || what_changed.contains (ARDOUR::Properties::position)) {
int dir;
-
nframes
_t off = _region->sync_offset (dir);
+
frameoffset
_t off = _region->sync_offset (dir);
if (dir == -1) {
off = -off;
}
if (dir == -1) {
off = -off;
}