summaryrefslogtreecommitdiff
path: root/src/lib/j2k_wav_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-22 21:04:50 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-22 21:04:50 +0100
commit579dfce1bae018efd73c9f5f3f31770cb401d19a (patch)
treef7bb1b2ad0537515fe3478d9ffe46a081f3b3414 /src/lib/j2k_wav_encoder.h
parent71b7808830e17423453502ed5112b70bf90fff1b (diff)
Try again to sort out the audio padding / alignment.
Diffstat (limited to 'src/lib/j2k_wav_encoder.h')
-rw-r--r--src/lib/j2k_wav_encoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/j2k_wav_encoder.h b/src/lib/j2k_wav_encoder.h
index 6733221de..69d445b09 100644
--- a/src/lib/j2k_wav_encoder.h
+++ b/src/lib/j2k_wav_encoder.h
@@ -57,7 +57,7 @@ public:
private:
- void write_audio (boost::shared_ptr<const AudioBuffers> audio) const;
+ void write_audio (boost::shared_ptr<const AudioBuffers> audio);
void encoder_thread (ServerDescription *);
void close_sound_files ();
void terminate_worker_threads ();
@@ -67,6 +67,7 @@ private:
#endif
std::vector<SNDFILE*> _sound_files;
+ int64_t _audio_frames_written;
bool _process_end;
std::list<boost::shared_ptr<DCPVideoFrame> > _queue;