mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
fix sndfilesource::open return value typo.
This commit is contained in:
parent
6c53ebc4c1
commit
ac078fd93f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue