X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_decoder.h;h=ab6c4b8a931e12cfe892c8cb74d86ae7162d1a10;hb=77e4bcc1514fdeaa3838644f59439f34b064e33c;hp=2ad53da8bf42684e544e753bc6b0ca4708c72d19;hpb=373f010a7f04add1f49169cbaa60cb7ae5f508d4;p=dcpomatic.git diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 2ad53da8b..ab6c4b8a9 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -36,7 +36,9 @@ class AudioBuffers; class AudioDecoder : public virtual Decoder { public: - AudioDecoder (boost::shared_ptr); + AudioDecoder (boost::shared_ptr, boost::shared_ptr); + + bool has_audio () const; /** Emitted when some audio data is ready */ boost::signals2::signal, AudioContent::Frame)> Audio; @@ -44,6 +46,7 @@ public: protected: void audio (boost::shared_ptr, AudioContent::Frame); + boost::shared_ptr _audio_content; AudioContent::Frame _audio_position; };