aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-03-23 10:40:59 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-03-23 10:40:59 +0100
commite3b3682436e0e2e9bbd9d52ae1fd73760f8c71a3 (patch)
tree0aec9ea709fb3bdbc72cc52d3b5db245b36b0e27
parent1eaabb4996f0e9d4e650413eaddefe65a1c7e1de (diff)
downloadsherlock.lv2-e3b3682436e0e2e9bbd9d52ae1fd73760f8c71a3.tar.xz
use double for frames in schedule interface.
-rw-r--r--lv2_osc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2_osc.h b/lv2_osc.h
index bacbf11..057f212 100644
--- a/lv2_osc.h
+++ b/lv2_osc.h
@@ -49,10 +49,10 @@ typedef void (*osc_bundle_pop_cb_t)(void *data);
typedef void (*osc_message_cb_t)(const char *path, const char *fmt,
const LV2_Atom_Tuple *arguments, void *data);
-typedef int64_t (*osc_schedule_osc2frames_t)(osc_schedule_handle_t handle,
+typedef double (*osc_schedule_osc2frames_t)(osc_schedule_handle_t handle,
uint64_t timestamp);
typedef uint64_t (*osc_schedule_frames2osc_t)(osc_schedule_handle_t handle,
- int64_t frames);
+ double frames);
struct _osc_schedule_t {
osc_schedule_osc2frames_t osc2frames;