mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Finally implement position aware silence adding in export (i.e. bbt times are converted to frames correctly)
This will work when Session::convert_to_frames_at is fixed :) git-svn-id: svn://localhost/ardour2/branches/3.0@8295 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ffadfff650
commit
94c69b3c91
8 changed files with 68 additions and 28 deletions
|
|
@ -52,6 +52,13 @@ struct Time {
|
|||
subframes = 0;
|
||||
rate = a_rate;
|
||||
}
|
||||
|
||||
bool operator== (const Time& other) const {
|
||||
return negative == other.negative && hours == other.hours &&
|
||||
minutes == other.minutes && seconds == other.seconds &&
|
||||
frames == other.frames && subframes == other.subframes &&
|
||||
rate == other.rate && drop == other.drop;
|
||||
}
|
||||
|
||||
std::ostream& print (std::ostream& ostr) const {
|
||||
if (negative) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue