]> git.sesse.net Git - nageru/blobdiff - mixer.h
Hook up white balance into the theme.
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index b02b99742e6f4825f4589d417382ef0dc0875393..02c06edfa46f2d8ee12278dee03320efe979e673 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -121,6 +121,11 @@ public:
                return theme->get_supports_set_wb(channel);
        }
 
+       void set_wb(unsigned channel, double r, double g, double b) const
+       {
+               theme->set_wb(channel, r, g, b);
+       }
+
 private:
        void bm_frame(unsigned card_index, uint16_t timecode,
                FrameAllocator::Frame video_frame, size_t video_offset, uint16_t video_format,