projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c53ebc
)
fix sndfilesource::open return value typo.
author
Robin Gareus
<robin@gareus.org>
Sun, 20 Sep 2015 16:38:52 +0000
(18:38 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 20 Sep 2015 16:38:52 +0000
(18:38 +0200)
libs/ardour/sndfilesource.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/sndfilesource.cc
b/libs/ardour/sndfilesource.cc
index 44597645e75148144edd3cc46e32aad3e888ef73..18c6df4a48221afc17535c8fa1525ef8e285ecd7 100644
(file)
--- a/
libs/ardour/sndfilesource.cc
+++ b/
libs/ardour/sndfilesource.cc
@@
-281,7
+281,7
@@
SndFileSource::open ()
_ ("SndFileSource: cannot open file \"%1\" for %2"),
_path,
(writable () ? "read+write" : "reading")) << endmsg;
- return
false
;
+ return
-1
;
}
_sndfile = sf_open_fd (fd, writable() ? SFM_RDWR : SFM_READ, &_info, true);