Try to fix clashes caused by ERROR, WARNING etc. as variables.
[dcpomatic.git] / src / lib / audio_buffers.h
index 0950f5d6775abdb15584b7af6e652aef1245a095..c9030dbfa9e84af247dd760f276c3ee33eaa5969 100644 (file)
@@ -57,9 +57,11 @@ public:
        void make_silent (int c);
        void make_silent (int from, int frames);
 
+       void apply_gain (float);
+
        void copy_from (AudioBuffers const * from, int frames_to_copy, int read_offset, int write_offset);
        void move (int from, int to, int frames);
-       void accumulate_channel (AudioBuffers const *, int, int);
+       void accumulate_channel (AudioBuffers const *, int, int, float gain = 1);
        void accumulate_frames (AudioBuffers const *, int read_offset, int write_offset, int frames);
 
 private: