projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix MIDI disk-writer flush
[ardour.git]
/
libs
/
ardour
/
disk_writer.cc
diff --git
a/libs/ardour/disk_writer.cc
b/libs/ardour/disk_writer.cc
index 6a455318e924093a0cbe50a93a146ac826e71691..33a9187ca298bf587b955e9377da1241450a7b5a 100644
(file)
--- a/
libs/ardour/disk_writer.cc
+++ b/
libs/ardour/disk_writer.cc
@@
-991,7
+991,7
@@
DiskWriter::do_flush (RunContext ctxt, bool force_flush)
if (force_flush) {
/* push out everything we have, right now */
- to_write =
UINT32_MAX
;
+ to_write =
total
;
} else {
to_write = _chunk_samples;
}