From 5c1198fe0e84b8a788c54cc04203ba53d94cb864 Mon Sep 17 00:00:00 2001 From: sletz Date: Wed, 24 Jan 2007 12:19:21 +0000 Subject: [PATCH] Correct JackLoopbackDriver::Process git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1364 0c269be4-1314-0410-8aa9-9f06e86f4224 --- common/JackLoopbackDriver.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/common/JackLoopbackDriver.cpp b/common/JackLoopbackDriver.cpp index f4c5f776..ce494521 100644 --- a/common/JackLoopbackDriver.cpp +++ b/common/JackLoopbackDriver.cpp @@ -16,10 +16,10 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ - -#ifdef WIN32 -#pragma warning (disable : 4786) +*/ + +#ifdef WIN32 +#pragma warning (disable : 4786) #endif #include "JackLoopbackDriver.h" @@ -42,8 +42,10 @@ int JackLoopbackDriver::Process() fGraphManager->ResumeRefNum(fClientControl, fSynchroTable); // Signal all clients if (fEngineControl->fSyncMode) { - if (fGraphManager->SuspendRefNum(fClientControl, fSynchroTable, fEngineControl->fTimeOutUsecs) < 0) + if (fGraphManager->SuspendRefNum(fClientControl, fSynchroTable, fEngineControl->fTimeOutUsecs) < 0) { jack_error("JackLoopbackDriver::ProcessSync SuspendRefNum error"); + return -1; + } } return 0; } -- 2.11.4.GIT