diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-03 00:47:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-03 00:47:32 +0000 |
| commit | 821b556975c44bcb2c8607fc26462b7b79db2fe6 (patch) | |
| tree | 14a2ce9227c8ab385ee2b86cc57e54ab08a9a8cd /src/lib/sndfile_decoder.h | |
| parent | 3dfdd5795cf6514e15fdbece54c28f3bddc2aadc (diff) | |
Various fix-ups.
Diffstat (limited to 'src/lib/sndfile_decoder.h')
| -rw-r--r-- | src/lib/sndfile_decoder.h | 6 |
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; }; |
