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:
Sakari Bergen 2010-12-18 19:27:04 +00:00
parent ffadfff650
commit 94c69b3c91
8 changed files with 68 additions and 28 deletions

View file

@ -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) {