X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fencoder.h;h=561e419017b1e75488edf9cf0f55bdb85114bc7a;hb=44b57d623dec97a3f9955082f0b8a7a8d27b7518;hp=5dc0804c6a00643e51ca363653474144364789bb;hpb=476af651fc34d7c6394fea0e39d351392b4e46d3;p=dcpomatic.git diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 5dc0804c6..561e41901 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -37,6 +37,7 @@ class Options; class Image; class Log; class Subtitle; +class AudioBuffers; /** @class Encoder * @brief Parent class for classes which can encode video and audio frames. @@ -54,7 +55,7 @@ public: Encoder (boost::shared_ptr s, boost::shared_ptr o, Log* l); /** Called to indicate that a processing run is about to begin */ - virtual void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) = 0; + virtual void process_begin (int64_t audio_channel_layout) = 0; /** Called with a frame of video. * @param i Video frame image. @@ -67,7 +68,7 @@ public: * @param d Array of pointers to floating point sample data for each channel. * @param s Number of frames (ie number of samples in each channel) */ - virtual void process_audio (float** d, int s) = 0; + virtual void process_audio (boost::shared_ptr) = 0; /** Called when a processing run has finished */ virtual void process_end () = 0;