const fix; header guard.
[dcpomatic.git] / src / lib / audio_filter.h
index cc3734cde6ad86b7d0e82c2e85542674143f55b1..640e910ca83445ff970d7fe3a766385c6c98ea02 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef DCPOMATIC_AUDIO_FILTER_H
+#define DCPOMATIC_AUDIO_FILTER_H
+
 #include <boost/shared_ptr.hpp>
 #include <vector>
 
@@ -34,7 +37,7 @@ public:
                }
        }
 
-       boost::shared_ptr<AudioBuffers> run (boost::shared_ptr<AudioBuffers> in);
+       boost::shared_ptr<AudioBuffers> run (boost::shared_ptr<const AudioBuffers> in);
 
        void flush ();
 
@@ -79,3 +82,5 @@ public:
         */
        BandPassAudioFilter (float transition_bandwidth, float lower, float higher);
 };
+
+#endif