Skip to content

Commit 504cda9

Browse files
author
Colin
committed
Formatted with clang-format
1 parent 430ee9e commit 504cda9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/recorder/jamrecorder.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ void CJamRecorder::Start()
401401

402402
{
403403
// needs to be after OnEnd() as that also locks
404-
QMutexLocker mutexLocker(&ChIdMutex);
404+
QMutexLocker mutexLocker ( &ChIdMutex );
405405
try
406406
{
407407
currentSession = new CJamSession ( recordBaseDir );
@@ -428,7 +428,7 @@ void CJamRecorder::Start()
428428
*/
429429
void CJamRecorder::OnEnd()
430430
{
431-
QMutexLocker mutexLocker(&ChIdMutex);
431+
QMutexLocker mutexLocker ( &ChIdMutex );
432432
if ( isRecording )
433433
{
434434
isRecording = false;
@@ -567,7 +567,7 @@ void CJamRecorder::SessionDirToReaper ( QString& strSessionDirName, int serverFr
567567
*/
568568
void CJamRecorder::OnDisconnected ( int iChID )
569569
{
570-
QMutexLocker mutexLocker(&ChIdMutex);
570+
QMutexLocker mutexLocker ( &ChIdMutex );
571571
if ( !isRecording )
572572
{
573573
qWarning() << "CJamRecorder::OnDisconnected: channel" << iChID << "disconnected but not recording";
@@ -611,7 +611,7 @@ void CJamRecorder::OnFrame ( const int iChID,
611611

612612
// needs to be after Start() as that also locks
613613
{
614-
QMutexLocker mutexLocker(&ChIdMutex);
614+
QMutexLocker mutexLocker ( &ChIdMutex );
615615
currentSession->Frame ( iChID, name, address, numAudioChannels, data, iServerFrameSizeSamples );
616616
}
617617
}

src/recorder/jamrecorder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class CJamRecorder : public QObject
158158
recordBaseDir ( strRecordingBaseDir ),
159159
iServerFrameSizeSamples ( iServerFrameSizeSamples ),
160160
isRecording ( false ),
161-
currentSession( nullptr )
161+
currentSession ( nullptr )
162162
{}
163163

164164
/**

0 commit comments

Comments
 (0)