summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-02 13:02:30 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-02 13:02:30 +0000
commit3dfdd5795cf6514e15fdbece54c28f3bddc2aadc (patch)
tree0b6a71d8d5c8be03ff424da5c5b0b42fb5f3018a /src/lib/sndfile_decoder.h
parent30e45dd697afc053f2d7be4ee2bc154e5061ad80 (diff)
Rationalise video/audio frame 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 63f2f7dc4..9cbddc9f6 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;
- AudioContent::Frame audio_length () const;
+ AudioFrame audio_length () const;
int audio_frame_rate () const;
private:
@@ -44,7 +44,7 @@ private:
boost::shared_ptr<const SndfileContent> _sndfile_content;
SNDFILE* _sndfile;
SF_INFO _info;
- AudioContent::Frame _done;
- AudioContent::Frame _remaining;
+ AudioFrame _done;
+ AudioFrame _remaining;
float* _deinterleave_buffer;
};