diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-18 22:32:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-18 22:32:32 +0100 |
| commit | 1dab4d3d084eda74612a3ebf0688ebc6fda7e78b (patch) | |
| tree | cb3a0b73665eee71794bf91139d6c931b0949a1b /src | |
| parent | 6495409c098a1a295f344b30a0fb65d090513091 (diff) | |
const fix; header guard.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/audio_filter.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/audio_filter.h b/src/lib/audio_filter.h index cc3734cde..640e910ca 100644 --- a/src/lib/audio_filter.h +++ b/src/lib/audio_filter.h @@ -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 |
