summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-04 20:22:47 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-04 20:22:47 +0000
commit1b1bc528ee5ca1fee1bd33f9fb6f79cd551e3b33 (patch)
treed60b9fb573dd8d6ab89036fb8788cd1b1c69aada /src/lib/sndfile_decoder.h
parent6d8bcba724be622739a749064466901486304cee (diff)
New DCPTime/ContentTime types.
Diffstat (limited to 'src/lib/sndfile_decoder.h')
-rw-r--r--src/lib/sndfile_decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/sndfile_decoder.h b/src/lib/sndfile_decoder.h
index 46d9c5e5c..aaa4c0da8 100644
--- a/src/lib/sndfile_decoder.h
+++ b/src/lib/sndfile_decoder.h
@@ -32,7 +32,7 @@ public:
void seek (ContentTime, bool);
int audio_channels () const;
- AudioFrame audio_length () const;
+ ContentTime audio_length () const;
int audio_frame_rate () const;
private:
@@ -41,7 +41,7 @@ private:
boost::shared_ptr<const SndfileContent> _sndfile_content;
SNDFILE* _sndfile;
SF_INFO _info;
- AudioFrame _done;
- AudioFrame _remaining;
+ int64_t _done;
+ int64_t _remaining;
float* _deinterleave_buffer;
};