summaryrefslogtreecommitdiff
path: root/libs/ardour/session_click.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_click.cc')
-rw-r--r--libs/ardour/session_click.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/session_click.cc b/libs/ardour/session_click.cc
index 363c5911b8..0a83a0f6d9 100644
--- a/libs/ardour/session_click.cc
+++ b/libs/ardour/session_click.cc
@@ -38,7 +38,7 @@ using namespace PBD;
Pool Click::pool ("click", sizeof (Click), 128);
void
-Session::click (nframes_t start, nframes_t nframes)
+Session::click (framepos_t start, framecnt_t nframes)
{
TempoMap::BBTPointList *points;
Sample *buf;
@@ -54,7 +54,7 @@ Session::click (nframes_t start, nframes_t nframes)
return;
}
- const nframes_t end = start + nframes;
+ const framepos_t end = start + nframes;
BufferSet& bufs = get_scratch_buffers(ChanCount(DataType::AUDIO, 1));
buf = bufs.get_audio(0).data();
@@ -90,8 +90,8 @@ Session::click (nframes_t start, nframes_t nframes)
for (list<Click*>::iterator i = clicks.begin(); i != clicks.end(); ) {
- nframes_t copy;
- nframes_t internal_offset;
+ framecnt_t copy;
+ framecnt_t internal_offset;
Click *clk;
list<Click*>::iterator next;