Пример #1
0
	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();
			}
		}
	}
Пример #2
0
	static bool g_is_stream_active(spectrum_extension * p_ext)
	{
		return g_visualisations.have_item(p_ext);
	}