summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-04-14 22:04:51 +0000
committerCarl Hetherington <carl@carlh.net>2012-04-14 22:04:51 +0000
commitcc7d4db5fe9132c38b919ab073b91d442abad9b6 (patch)
tree0b00a508bf8a1d5e1a7fc441770a78b5d24a9c52 /libs/ardour/ardour/region.h
parentc8228ba9853b4f0ee452343b1f1e361c584236cf (diff)
Fix a few framecnt / framepos type confusions.
git-svn-id: svn://localhost/ardour2/branches/3.0@11975 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r--libs/ardour/ardour/region.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index 0acbf04af4..c698d2fdc2 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -128,7 +128,7 @@ class Region
float stretch () const { return _stretch; }
float shift () const { return _shift; }
- void set_ancestral_data (framepos_t start, framepos_t length, float stretch, float shift);
+ void set_ancestral_data (framepos_t start, framecnt_t length, float stretch, float shift);
frameoffset_t sync_offset (int& dir) const;
framepos_t sync_position () const;
@@ -282,7 +282,7 @@ class Region
return 0;
}
- virtual int adjust_transients (framepos_t /*delta*/) {
+ virtual int adjust_transients (frameoffset_t /*delta*/) {
// no transients, but its OK
return 0;
}