projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle no audio-output AUs
[ardour.git]
/
libs
/
ardour
/
sndfileimportable.cc
diff --git
a/libs/ardour/sndfileimportable.cc
b/libs/ardour/sndfileimportable.cc
index 11cff41c355d3898dcbee59a34d339f7187e0b3a..95b269a014a455111c02495b6ab5d78d0243d29d 100644
(file)
--- a/
libs/ardour/sndfileimportable.cc
+++ b/
libs/ardour/sndfileimportable.cc
@@
-23,7
+23,7
@@
#include <fcntl.h>
#include <glib.h>
#include <fcntl.h>
#include <glib.h>
-#include
<glib/gstdio.h>
+#include
"pbd/gstdio_compat.h"
#include "pbd/error.h"
#include "pbd/error.h"
@@
-74,7
+74,7
@@
SndFileImportableSource::get_timecode_info (SNDFILE* sf, SF_BROADCAST_INFO* binf
SndFileImportableSource::SndFileImportableSource (const string& path)
{
SndFileImportableSource::SndFileImportableSource (const string& path)
{
- int fd = g_open (path.c_str (),
SFM_READ
, 0444);
+ int fd = g_open (path.c_str (),
O_RDONLY
, 0444);
if (fd == -1) {
throw failed_constructor ();
}
if (fd == -1) {
throw failed_constructor ();
}