]> git.sesse.net Git - nageru/blobdiff - mixer.h
Hook up the cut button to Lua, so that it actually does something.
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 80d18ff00395c3651ff461b72b03e72da51b7f7a..b4eaad9b0d2a1338d9c099fe5302edeb6f2c4e48 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -32,12 +32,7 @@ public:
        void start();
        void quit();
 
-       enum Source {
-               SOURCE_INPUT1,
-               SOURCE_INPUT2,
-               SOURCE_SBS,
-       };
-       void cut(Source source);
+       void transition_clicked(int transition_num, float t);
 
        enum Output {
                OUTPUT_LIVE = 0,
@@ -98,7 +93,6 @@ private:
        // Effects part of <display_chain>. Owned by <display_chain>.
        movit::FlatInput *display_input;
 
-       Source current_source = SOURCE_INPUT1;
        int frame = 0;
 
        std::mutex bmusb_mutex;