mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
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:
parent
74b4a3c77b
commit
73192bc1a7
280 changed files with 1615 additions and 1628 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue