Fixed Device manager: restore gmainloop

The gmainloop is used by gst to detect devices. Fixed bugs on detection of invalid devices.
This commit is contained in:
Bruno Herbelin
2022-01-02 14:17:10 +01:00
parent 53ae715816
commit 61e89286bc
4 changed files with 91 additions and 79 deletions

View File

@@ -30,6 +30,7 @@
#include "ControlManager.h"
#include "Connection.h"
#include "Metronome.h"
#include "DeviceSource.h"
#if defined(APPLE)
extern "C"{
@@ -120,6 +121,11 @@ int main(int argc, char *argv[])
if ( !Rendering::manager().init() )
return 1;
///
/// DEVICES INIT
///
Device::manager().init();
///
/// UI INIT
///