[Summary] Getting most recent changes from ARDOUR’s git. These changes fix a bug with broken export in case of exporting the Play Loop.

This commit is contained in:
Valeriy Kamyshniy 2015-02-27 03:10:44 +02:00
parent 73e990ee52
commit 7d6f7bfe5a
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ class /*LIBAUDIOGRAPHER_API*/ Chunker
position += frames_left;
}
if (context.has_flag (ProcessContext<T>::EndOfInput)) {
if (context.has_flag (ProcessContext<T>::EndOfInput) && position > 0) {
ProcessContext<T> c_out (context, buffer, position);
ListedSource<T>::output (c_out);
}

View file

@ -128,7 +128,7 @@ class /*LIBAUDIOGRAPHER_API*/ SilenceTrimmer
check_flags (*this, c);
if (throw_level (ThrowStrict) && in_end) {
throw Exception(*this, "process() after reacing end of input");
throw Exception(*this, "process() after reaching end of input");
}
in_end = c.has_flag (ProcessContext<T>::EndOfInput);