X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsndfile_decoder.h;h=68c8633a0d604df5e7e6aa3f19dfc07993422d2e;hb=ef4b082c5d7452a34ce45f6d3bead46a7e846faf;hp=41d5faf082ec29c75b2c2e1059f528c59a26e0ff;hpb=1c13441a19aa387ddd8ac0c972207ccbbe3114d8;p=dcpomatic.git diff --git a/src/lib/sndfile_decoder.h b/src/lib/sndfile_decoder.h index 41d5faf08..68c8633a0 100644 --- a/src/lib/sndfile_decoder.h +++ b/src/lib/sndfile_decoder.h @@ -17,10 +17,10 @@ */ -#include #include "decoder.h" #include "audio_decoder.h" #include "audio_examiner.h" +#include class SndfileContent; @@ -30,14 +30,13 @@ public: SndfileDecoder (boost::shared_ptr c); ~SndfileDecoder (); - void seek (ContentTime, bool); - int audio_channels () const; ContentTime audio_length () const; int audio_frame_rate () const; private: - bool pass (); + bool pass (PassReason); + void seek (ContentTime, bool); boost::shared_ptr _sndfile_content; SNDFILE* _sndfile;