mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Major BugFix: avoid default gst g_main_context
Do NOT update g_main_context at RenderingManager update. Do not use g_main_context for Dialogs. Do not rely on default g_main_context for Device discoverer (implemented a thread save g_main_loop dedicated).
This commit is contained in:
14
main.cpp
14
main.cpp
@@ -30,7 +30,6 @@
|
||||
#include "ControlManager.h"
|
||||
#include "Connection.h"
|
||||
#include "Metronome.h"
|
||||
#include "DeviceSource.h"
|
||||
|
||||
#if defined(APPLE)
|
||||
extern "C"{
|
||||
@@ -105,29 +104,24 @@ int main(int argc, char *argv[])
|
||||
return 1;
|
||||
|
||||
///
|
||||
/// CONTROLLER INIT
|
||||
/// CONTROLLER INIT (OSC)
|
||||
///
|
||||
Control::manager().init();
|
||||
|
||||
///
|
||||
/// METRONOME INIT
|
||||
/// METRONOME INIT (Ableton Link)
|
||||
///
|
||||
if ( !Metronome::manager().init() )
|
||||
return 1;
|
||||
|
||||
///
|
||||
/// RENDERING INIT
|
||||
/// RENDERING & GST INIT
|
||||
///
|
||||
if ( !Rendering::manager().init() )
|
||||
return 1;
|
||||
|
||||
///
|
||||
/// DEVICES INIT
|
||||
///
|
||||
Device::manager().init();
|
||||
|
||||
///
|
||||
/// UI INIT
|
||||
/// IMGUI INIT
|
||||
///
|
||||
if ( !UserInterface::manager().Init() )
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user