From 96a8a645363c878e41038f1fdee83bb4bb4e9869 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Apr 2012 20:46:32 +0000 Subject: 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 --- libs/ardour/ardour/worker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour/worker.h') 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; }; /** -- cgit v1.2.3