Use get_pixel_size rather than get_size which is slightly nicer as we then don't...
[dcpomatic.git] / src / lib / audio_filter_graph.h
index 8efff5d8d5df244e6963f909ecc68ec763540ab8..90518e2edfa5fd06582bd070887008a3165c6774 100644 (file)
@@ -27,7 +27,7 @@ class AudioBuffers;
 class AudioFilterGraph : public FilterGraph
 {
 public:
-       AudioFilterGraph (int sample_rate, int64_t channel_layout);
+       AudioFilterGraph (int sample_rate, int channels);
        ~AudioFilterGraph ();
 
        void process (boost::shared_ptr<const AudioBuffers> audio);
@@ -40,6 +40,7 @@ protected:
 
 private:
        int _sample_rate;
+       int _channels;
        int64_t _channel_layout;
        AVFrame* _in_frame;
 };