Supporters update.
[dcpomatic.git] / src / lib / audio_filter_graph.h
index af438a7e7eac19a9afd0fd0545990516614771ed..e5c55fa273b22009564b98fcce92f0f92bee3157 100644 (file)
 
 */
 
+
+#ifndef DCPOMATIC_AUDIO_FILTER_GRAPH_H
+#define DCPOMATIC_AUDIO_FILTER_GRAPH_H
+
+
 #include "filter_graph.h"
 extern "C" {
 #include <libavfilter/buffersink.h>
@@ -31,7 +36,7 @@ public:
        AudioFilterGraph (int sample_rate, int channels);
        ~AudioFilterGraph ();
 
-       void process (std::shared_ptr<const AudioBuffers> audio);
+       void process (std::shared_ptr<AudioBuffers> audio);
 
 protected:
        std::string src_parameters () const override;
@@ -45,3 +50,7 @@ private:
        int64_t _channel_layout;
        AVFrame* _in_frame;
 };
+
+
+#endif
+