]> git.sesse.net Git - nageru/blobdiff - mixer.h
Create the previews dynamically, in a number determined by the theme.
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index bf53c2482e23362e0cba1ff589cbf72d76d78dd0..00c1e1519c7dddb2b648cc6ab952ee00d3e43cd6 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -109,6 +109,11 @@ public:
                return theme->get_transition_names(pts());
        }
 
+       unsigned get_num_channels() const
+       {
+               return theme->get_num_channels();
+       }
+
 private:
        void bm_frame(unsigned card_index, uint16_t timecode,
                FrameAllocator::Frame video_frame, size_t video_offset, uint16_t video_format,