Remove all use of nframes_t.

git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-12-03 22:26:29 +00:00
parent 74b4a3c77b
commit 73192bc1a7
280 changed files with 1615 additions and 1628 deletions

View file

@ -55,11 +55,11 @@ ExportFormatSpecification::Time::operator= (AnyTime const & other)
return *this;
}
nframes_t
ExportFormatSpecification::Time::get_frames (nframes_t target_rate) const
framecnt_t
ExportFormatSpecification::Time::get_frames (framecnt_t target_rate) const
{
//TODO position
nframes_t duration = session.convert_to_frames_at (0, *this);
framecnt_t duration = session.convert_to_frames_at (0, *this);
return ((double) target_rate / session.frame_rate()) * duration + 0.5;
}