projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Fix process callbakc handling during export
[ardour.git]
/
libs
/
audiographer
/
src
/
sndfile_reader.cc
diff --git
a/libs/audiographer/src/sndfile_reader.cc
b/libs/audiographer/src/sndfile_reader.cc
index 0508110314a048a41f8e12ff5a950a3b19dc21a7..8297844721593ae32659efc0f77ebdeb551728d3 100644
(file)
--- a/
libs/audiographer/src/sndfile_reader.cc
+++ b/
libs/audiographer/src/sndfile_reader.cc
@@
-33,6
+33,7
@@
SndfileReader<T>::read (ProcessContext<T> & context)
nframes_t frames_read = (*read_func) (sndfile, context.data(), context.frames());
if (frames_read < context.frames()) {
+ context.frames() = frames_read;
context.set_flag (ProcessContext<T>::EndOfInput);
}
output (context);