projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify stop-at-session-end behaviour; should fix #4033.
[ardour.git]
/
libs
/
ardour
/
export_format_specification.cc
diff --git
a/libs/ardour/export_format_specification.cc
b/libs/ardour/export_format_specification.cc
index b85d060e2fb2c0b3ca4e0b65a8d900394ebeab68..619c50b9f98f33a10302403094b9b7329a8f6495 100644
(file)
--- a/
libs/ardour/export_format_specification.cc
+++ b/
libs/ardour/export_format_specification.cc
@@
-49,7
+49,7
@@
ExportFormatSpecification::Time::operator= (AnyTime const & other)
framecnt_t
ExportFormatSpecification::Time::get_frames_at (framepos_t position, framecnt_t target_rate) const
{
framecnt_t
ExportFormatSpecification::Time::get_frames_at (framepos_t position, framecnt_t target_rate) const
{
- framecnt_t duration = session.
convert_to_frames_at
(position, *this);
+ framecnt_t duration = session.
any_duration_to_frames
(position, *this);
return ((double) target_rate / session.frame_rate()) * duration + 0.5;
}
return ((double) target_rate / session.frame_rate()) * duration + 0.5;
}
@@
-219,7
+219,7
@@
ExportFormatSpecification::ExportFormatSpecification (ExportFormatSpecification
set_silence_beginning (other.silence_beginning_time());
set_silence_end (other.silence_end_time());
set_silence_beginning (other.silence_beginning_time());
set_silence_end (other.silence_end_time());
-
+
set_extension(other.extension());
}
set_extension(other.extension());
}
@@
-519,7
+519,7
@@
ExportFormatSpecification::description ()
} else if (_trim_beginning) {
desc += _("trim start, ");
} else if (_trim_end) {
} else if (_trim_beginning) {
desc += _("trim start, ");
} else if (_trim_end) {
- desc +=
"trim end, "
;
+ desc +=
_("trim end, ")
;
}
desc += _format_name + ", ";
}
desc += _format_name + ", ";