Browse Source

Correct JackLoopbackDriver::Process

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1364 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.62
sletz 19 years ago
parent
commit
5c1198fe0e
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      common/JackLoopbackDriver.cpp

+ 7
- 5
common/JackLoopbackDriver.cpp View File

@@ -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;
}


Loading…
Cancel
Save