]> git.sesse.net Git - nageru/blobdiff - mixer.h
Make some labels and a white balance button per preview (the latter is not hooked...
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 00c1e1519c7dddb2b648cc6ab952ee00d3e43cd6..b02b99742e6f4825f4589d417382ef0dc0875393 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,16 @@ 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);
+       }
+
 private:
        void bm_frame(unsigned card_index, uint16_t timecode,
                FrameAllocator::Frame video_frame, size_t video_offset, uint16_t video_format,