aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-15 17:17:20 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-15 17:17:20 +0200
commit170058c999d848d789fa8e0ee20d5fe633788b5d (patch)
tree0f1975c9ecde8ba83641e13dc6805fc19cd7df20 /lib
parent0c6667d1dfe26e0abfb4590256aab80e7273e2f8 (diff)
downloadsynthpod-170058c999d848d789fa8e0ee20d5fe633788b5d.tar.xz
migrate clock_sync.lv2 to osc.lv2.
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt2
-rw-r--r--lib/synthpod_app.c6
-rw-r--r--lib/synthpod_app.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index af89afdf..26193c5d 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -3,7 +3,7 @@ include_directories(${PROJECT_SOURCE_DIR}/eo_ui.lv2)
include_directories(${PROJECT_SOURCE_DIR}/zero_worker.lv2)
include_directories(${PROJECT_SOURCE_DIR}/zero_writer.lv2)
include_directories(${PROJECT_SOURCE_DIR}/system_port.lv2)
-include_directories(${PROJECT_SOURCE_DIR}/clock_sync.lv2)
+include_directories(${PROJECT_SOURCE_DIR}/osc.lv2)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/cjson)
add_definitions("-D_GNU_SOURCE=1") # asprintf
diff --git a/lib/synthpod_app.c b/lib/synthpod_app.c
index 091c5c95..ad665fb5 100644
--- a/lib/synthpod_app.c
+++ b/lib/synthpod_app.c
@@ -564,10 +564,10 @@ _sp_app_mod_add(sp_app_t *app, const char *uri, uint32_t uid)
mod->feature_list[nfeatures++].data = NULL;
}
- if(app->driver->clock_sync_sched)
+ if(app->driver->osc_sched)
{
- mod->feature_list[nfeatures].URI = CLOCK_SYNC__schedule;
- mod->feature_list[nfeatures++].data = app->driver->clock_sync_sched;
+ mod->feature_list[nfeatures].URI = OSC__schedule;
+ mod->feature_list[nfeatures++].data = app->driver->osc_sched;
}
assert(nfeatures <= NUM_FEATURES);
diff --git a/lib/synthpod_app.h b/lib/synthpod_app.h
index f0e52ef0..46e9ef0d 100644
--- a/lib/synthpod_app.h
+++ b/lib/synthpod_app.h
@@ -32,7 +32,7 @@
#include <synthpod_common.h>
#include <system_port.h>
-#include <clock_sync.h>
+#include <lv2_osc.h>
typedef struct _sp_app_t sp_app_t;
typedef struct _sp_app_system_source_t sp_app_system_source_t;
@@ -90,7 +90,7 @@ struct _sp_app_driver_t {
sp_system_port_del system_port_del;
// clock_sync
- Clock_Sync_Schedule *clock_sync_sched;
+ osc_schedule_t *osc_sched;
};
sp_app_t *