summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/sndfilesource.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-12 21:55:36 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-12 21:55:36 +0000
commit1762a1be83c0f10a324a6dd25dde8e133d74e26d (patch)
tree4740490607c8c99f5fe6eb3cc7aa2cf3516f9ab1 /libs/ardour/ardour/sndfilesource.h
parent077a598232a29fce9778873d50bc5d36efb2ae9a (diff)
per-thread interleave buffers for SndFileSource, not per-source.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2463 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/sndfilesource.h')
-rw-r--r--libs/ardour/ardour/sndfilesource.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/ardour/sndfilesource.h b/libs/ardour/ardour/sndfilesource.h
index 916e9da49e..54964608ee 100644
--- a/libs/ardour/ardour/sndfilesource.h
+++ b/libs/ardour/ardour/sndfilesource.h
@@ -76,9 +76,6 @@ class SndFileSource : public AudioFileSource {
SF_INFO _info;
SF_BROADCAST_INFO *_broadcast_info;
- mutable float *interleave_buf;
- mutable nframes_t interleave_bufsize;
-
void init ();
int open();
void close();
@@ -105,6 +102,8 @@ class SndFileSource : public AudioFileSource {
void handle_header_position_change ();
static int64_t get_timecode_info (SNDFILE* sf, SF_BROADCAST_INFO* binfo, bool& exists);
+
+ static Sample* get_interleave_buffer (nframes_t size);
};
} // namespace ARDOUR