static void g_register_stream(spectrum_extension * p_ext) { if (!g_visualisations.have_item(p_ext)) { //console::printf("registering %x",p_ext); if (g_visualisations.add_item(p_ext) == 0) { //static_api_ptr_t<visualisation_manager>()->create_stream(g_stream, NULL); g_create_timer(); } } }
static bool g_is_stream_active(spectrum_extension * p_ext) { return g_visualisations.have_item(p_ext); }