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