mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Initial implementation of Metronome from Ableton LINK
Added submodule for github ableton link, and compiled draft of Metronome class.
This commit is contained in:
13
main.cpp
13
main.cpp
@@ -28,7 +28,7 @@
|
||||
#include "RenderingManager.h"
|
||||
#include "UserInterfaceManager.h"
|
||||
#include "Connection.h"
|
||||
|
||||
#include "Metronome.h"
|
||||
|
||||
#if defined(APPLE)
|
||||
extern "C"{
|
||||
@@ -85,12 +85,18 @@ int main(int argc, char *argv[])
|
||||
/// lock to inform an instance is running
|
||||
Settings::Lock();
|
||||
|
||||
///
|
||||
///
|
||||
/// CONNECTION INIT
|
||||
///
|
||||
if ( !Connection::manager().init() )
|
||||
return 1;
|
||||
|
||||
/// METRONOME INIT
|
||||
///
|
||||
if ( !Metronome::manager().init() )
|
||||
return 1;
|
||||
|
||||
///
|
||||
/// RENDERING INIT
|
||||
///
|
||||
@@ -140,6 +146,11 @@ int main(int argc, char *argv[])
|
||||
///
|
||||
Rendering::manager().terminate();
|
||||
|
||||
///
|
||||
/// METRONOME TERMINATE
|
||||
///
|
||||
Metronome::manager().terminate();
|
||||
|
||||
///
|
||||
/// CONNECTION TERMINATE
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user