class J2KWAVEncoder : public Encoder
{
public:
- J2KWAVEncoder (boost::shared_ptr<const Film>, boost::shared_ptr<const Options>);
+ J2KWAVEncoder (boost::shared_ptr<const Film>, boost::shared_ptr<const EncodeOptions>);
~J2KWAVEncoder ();
- void process_begin (int64_t audio_channel_layout);
- void process_video (boost::shared_ptr<Image>, int, boost::shared_ptr<Subtitle>);
- void process_audio (boost::shared_ptr<const AudioBuffers>);
+ void process_begin ();
void process_end ();
private:
+ void do_process_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
+ void do_process_audio (boost::shared_ptr<AudioBuffers>);
+
void write_audio (boost::shared_ptr<const AudioBuffers> audio);
void encoder_thread (ServerDescription *);
void close_sound_files ();