summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-03 00:47:32 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-03 00:47:32 +0000
commit821b556975c44bcb2c8607fc26462b7b79db2fe6 (patch)
tree14a2ce9227c8ab385ee2b86cc57e54ab08a9a8cd /src/lib/sndfile_decoder.h
parent3dfdd5795cf6514e15fdbece54c28f3bddc2aadc (diff)
Various fix-ups.
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 9cbddc9f6..4ecea0846 100644
--- a/src/lib/sndfile_decoder.h
+++ b/src/lib/sndfile_decoder.h
@@ -36,15 +36,15 @@ public:
int audio_frame_rate () const;
private:
- bool has_audio () const {
- return true;
+ ContentTime first_audio () const {
+ return 0;
}
+
bool pass ();
boost::shared_ptr<const SndfileContent> _sndfile_content;
SNDFILE* _sndfile;
SF_INFO _info;
- AudioFrame _done;
AudioFrame _remaining;
float* _deinterleave_buffer;
};