projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
permit different sizes for audio playback & capture buffers
[ardour.git]
/
libs
/
ardour
/
ardour
/
sndfileimportable.h
diff --git
a/libs/ardour/ardour/sndfileimportable.h
b/libs/ardour/ardour/sndfileimportable.h
index 5cd84f4f5f541eb4b53525113c2a7d8cd3e78c64..6e308415c97072956d6a1c80994aebfcdb1dfdc2 100644
(file)
--- a/
libs/ardour/ardour/sndfileimportable.h
+++ b/
libs/ardour/ardour/sndfileimportable.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2007 Paul Davis
+ Copyright (C) 2007 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-22,9
+22,9
@@
#include <boost/shared_ptr.hpp>
#include <sndfile.h>
#include <boost/shared_ptr.hpp>
#include <sndfile.h>
-#include
<pbd/failed_constructor.h>
-#include
<ardour/types.h>
-#include
<ardour/importable_source.h>
+#include
"pbd/failed_constructor.h"
+#include
"ardour/types.h"
+#include
"ardour/importable_source.h"
namespace ARDOUR {
namespace ARDOUR {
@@
-38,11
+38,14
@@
class SndFileImportableSource : public ImportableSource {
nframes_t length() const;
nframes_t samplerate() const;
void seek (nframes_t pos);
nframes_t length() const;
nframes_t samplerate() const;
void seek (nframes_t pos);
+ nframes64_t natural_position() const;
+ bool clamped_at_unity () const;
protected:
SF_INFO sf_info;
boost::shared_ptr<SNDFILE> in;
protected:
SF_INFO sf_info;
boost::shared_ptr<SNDFILE> in;
-
+ nframes_t timecode;
+ int64_t get_timecode_info (SNDFILE*, SF_BROADCAST_INFO*, bool&);
};
}
};
}