]> git.sesse.net Git - nageru/blobdiff - mixer.h
Some typo fixes.
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 00c1e1519c7dddb2b648cc6ab952ee00d3e43cd6..02c06edfa46f2d8ee12278dee03320efe979e673 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -59,11 +59,8 @@ public:
        enum Output {
                OUTPUT_LIVE = 0,
                OUTPUT_PREVIEW,
-               OUTPUT_INPUT0,
-               OUTPUT_INPUT1,
-               OUTPUT_INPUT2,
-               OUTPUT_INPUT3,
-               NUM_OUTPUTS
+               OUTPUT_INPUT0,  // 1, 2, 3, up to 15 follow numerically.
+               NUM_OUTPUTS = 18
        };
 
        struct DisplayFrame {
@@ -114,6 +111,21 @@ public:
                return theme->get_num_channels();
        }
 
+       std::string get_channel_name(unsigned channel) const
+       {
+               return theme->get_channel_name(channel);
+       }
+
+       bool get_supports_set_wb(unsigned channel) const
+       {
+               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,