Hopefully much cleaner handling of PTS changes under resample.
[dcpomatic.git] / src / lib / audio_decoder.h
index 168348c2e3fdf52e0bb7c5a617dbd07718ce5e71..2ad53da8bf42684e544e753bc6b0ca4708c72d19 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "decoder.h"
 #include "content.h"
+#include "audio_content.h"
 
 class AudioBuffers;
 
@@ -43,7 +44,7 @@ public:
 protected:
 
        void audio (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame);
-       AudioContent::Frame _next_audio_frame;
+       AudioContent::Frame _audio_position;
 };
 
 #endif