From 73192bc1a7ea55fa1864dc3826845b15c00dd2ec Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 3 Dec 2010 22:26:29 +0000 Subject: Remove all use of nframes_t. git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/caimportable.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libs/ardour/caimportable.cc') diff --git a/libs/ardour/caimportable.cc b/libs/ardour/caimportable.cc index e78691a1dd..149f213222 100644 --- a/libs/ardour/caimportable.cc +++ b/libs/ardour/caimportable.cc @@ -36,12 +36,12 @@ CAImportableSource::~CAImportableSource () { } -nframes_t -CAImportableSource::read (Sample* buffer, nframes_t nframes) +framecnt_t +CAImportableSource::read (Sample* buffer, framecnt_t nframes) { - nframes_t nread = 0; + framecnt_t nread = 0; AudioBufferList abl; - nframes_t per_channel; + framecnt_t per_channel; bool at_end = false; abl.mNumberBuffers = 1; @@ -91,8 +91,8 @@ CAImportableSource::length () const return af.GetNumberFrames(); } -nframes_t -CAImportableSource::samplerate() const +framecnt_t +CAImportableSource::samplerate () const { CAStreamBasicDescription client_asbd; @@ -107,7 +107,7 @@ CAImportableSource::samplerate() const } void -CAImportableSource::seek (nframes_t pos) +CAImportableSource::seek (framepos_t pos) { try { af.Seek (pos); -- cgit v1.2.3