projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf1d127
)
fix incorrect use of int32_t for current position in file while writing to non-destru...
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 22 Feb 2015 16:10:25 +0000
(11:10 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 22 Feb 2015 16:12:11 +0000
(11:12 -0500)
libs/ardour/sndfilesource.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/sndfilesource.cc
b/libs/ardour/sndfilesource.cc
index 6eb42d4b087c4cd7bf6f8721f4d4998742ecfbe0..b1e5cc1d4cccac1dbab64e928534ff37bbcdce1e 100644
(file)
--- a/
libs/ardour/sndfilesource.cc
+++ b/
libs/ardour/sndfilesource.cc
@@
-461,7
+461,7
@@
SndFileSource::nondestructive_write_unlocked (Sample *data, framecnt_t cnt)
return 0;
}
-
int32
_t frame_pos = _length;
+
framepos
_t frame_pos = _length;
if (write_float (data, frame_pos, cnt) != cnt) {
return 0;