]> git.sesse.net Git - nageru/blobdiff - nageru/theme.h
When hot-unplugging capture cards, actually allow making them inactive.
[nageru] / nageru / theme.h
index ce232fcfa913acb8d9eaef44c5889b4d42f62c79..024df7a378c2ba50fb1a054068fa8e39087667d4 100644 (file)
@@ -192,6 +192,11 @@ public:
 
        std::string format_status_line(const std::string &disk_space_left_text, double file_length_seconds);
 
+       // Signal that the given card is going away and will not be replaced
+       // with a fake capture card, so remove all connections to it so that
+       // they don't automatically come back on the next frame.
+       void remove_card(unsigned card_index);
+
 private:
        void register_globals();
        void register_class(const char *class_name, const luaL_Reg *funcs, EffectType effect_type = NO_EFFECT_TYPE);