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/worker.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/worker.h')
-rw-r--r-- | libs/ardour/ardour/worker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/worker.h b/libs/ardour/ardour/worker.h index eca5aa21ca..984e375c80 100644 --- a/libs/ardour/ardour/worker.h +++ b/libs/ardour/ardour/worker.h @@ -39,12 +39,12 @@ public: /** Do some work in the worker thread. */ - virtual void work(uint32_t size, const void* data) = 0; + virtual int work(uint32_t size, const void* data) = 0; /** Handle a response from the worker thread in the audio thread. */ - virtual void work_response(uint32_t size, const void* data) = 0; + virtual int work_response(uint32_t size, const void* data) = 0; }; /** |