diff options
author | David Robillard <d@drobilla.net> | 2012-04-10 20:46:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-10 20:46:32 +0000 |
commit | 96a8a645363c878e41038f1fdee83bb4bb4e9869 (patch) | |
tree | eebeb2a36aa27af2c488db63429faffc36930678 /libs/ardour/ardour/lv2_plugin.h | |
parent | 99ba7de59182a0f474c92a862d42c53ccd56ada2 (diff) |
Forward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
Fix worker implementation to preserve error codes.
git-svn-id: svn://localhost/ardour2/branches/3.0@11877 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r-- | libs/ardour/ardour/lv2_plugin.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index d96a15a173..90c456c1f8 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2008-2011 Paul Davis + Copyright (C) 2008-2012 Paul Davis Author: David Robillard This program is free software; you can redistribute it and/or modify @@ -132,8 +132,8 @@ class LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee Worker* worker() { return _worker; } - void work(uint32_t size, const void* data); - void work_response(uint32_t size, const void* data); + int work(uint32_t size, const void* data); + int work_response(uint32_t size, const void* data); static URIMap _uri_map; @@ -155,7 +155,9 @@ class LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee float* _shadow_data; float* _defaults; LV2_Evbuf** _ev_buffers; - float* _latency_control_port; + float* _bpm_control_port; ///< Special input set by ardour + float* _freewheel_control_port; ///< Special input set by ardour + float* _latency_control_port; ///< Special output set by ardour PBD::ID _insert_id; typedef enum { |