Logo Search packages:      
Sourcecode: jacktrip version File versions  Download package

int JackAudioInterface::stopProcess (  ) const

Stops the process-callback thread.

Returns:
0 on success, otherwise a non-zero error code

Definition at line 345 of file JackAudioInterface.cpp.

References mClient, and sJackMutex.

Referenced by JackTrip::stop().

{
  QMutexLocker locker(&sJackMutex);
  if ( int code = (jack_client_close(mClient)) )
    {
      std::cerr << "Cannot disconnect client" << std::endl;
      return(code);
    }
  return(0);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index