diff options
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 31bac68561..39cda63517 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -150,9 +150,9 @@ Editor::time_fx (RegionList& regions, float val, bool pitching) return 0; } - const framecnt_t oldlen = (framecnt_t) (regions.front()->length()); - const framecnt_t newlen = (framecnt_t) (regions.front()->length() * val); - const framecnt_t pos = regions.front()->position (); + const samplecnt_t oldlen = (samplecnt_t) (regions.front()->length()); + const samplecnt_t newlen = (samplecnt_t) (regions.front()->length() * val); + const samplecnt_t pos = regions.front()->position (); delete current_timefx; current_timefx = new TimeFXDialog (*this, pitching, oldlen, newlen, pos); |