summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sndfile_decoder.h')
-rw-r--r--src/lib/sndfile_decoder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/sndfile_decoder.h b/src/lib/sndfile_decoder.h
index e16eab673..9489cb5ec 100644
--- a/src/lib/sndfile_decoder.h
+++ b/src/lib/sndfile_decoder.h
@@ -45,10 +45,12 @@ class SndfileDecoder : public AudioDecoder
{
public:
SndfileDecoder (boost::shared_ptr<Film>, DecodeOptions);
+ ~SndfileDecoder ();
bool pass ();
private:
- std::vector<SNDFILE*> open_files (sf_count_t &);
- void close_files (std::vector<SNDFILE*> const &);
+ std::vector<SNDFILE*> _sndfiles;
+ sf_count_t _done;
+ sf_count_t _frames;
};