diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-28 16:23:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-28 16:23:35 +0100 |
| commit | a8d24d35dc999228f804ed425c0d9e90b9ddceaa (patch) | |
| tree | 55d18adab5114521dabec353e915ea5e593faf4f /src/lib/sndfile_decoder.h | |
| parent | 87a709a4ea5dffaadaf35ef94edb4b578eb3b56c (diff) | |
Fix broken external audio support.
Diffstat (limited to 'src/lib/sndfile_decoder.h')
| -rw-r--r-- | src/lib/sndfile_decoder.h | 6 |
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; }; |
