diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-26 01:21:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-26 17:04:31 +0100 |
| commit | 09a9ac376db005a40a351736bcff4077f098825d (patch) | |
| tree | 64ea69741155d15d114ad96daf0f90e24b3abe28 /src/lib/sndfile_decoder.h | |
| parent | 46cd0fe7b5b514f0d9456b25f670679cc584a218 (diff) | |
Another try at sorting out the thorny question of timing.
Diffstat (limited to 'src/lib/sndfile_decoder.h')
| -rw-r--r-- | src/lib/sndfile_decoder.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/sndfile_decoder.h b/src/lib/sndfile_decoder.h index e904340b3..77fa6d177 100644 --- a/src/lib/sndfile_decoder.h +++ b/src/lib/sndfile_decoder.h @@ -30,21 +30,17 @@ public: ~SndfileDecoder (); void pass (); - void seek (Time) {} - void seek_back () {} - void seek_forward () {} - Time position () const; bool done () const; int audio_channels () const; - ContentAudioFrame audio_length () const; + AudioContent::Frame audio_length () const; int audio_frame_rate () const; private: boost::shared_ptr<const SndfileContent> _sndfile_content; SNDFILE* _sndfile; SF_INFO _info; - ContentAudioFrame _done; - ContentAudioFrame _remaining; + AudioContent::Frame _done; + AudioContent::Frame _remaining; float* _deinterleave_buffer; }; |
