Skip to content

Commit

Permalink
Connection status issue jamulussoftware#2519 second stage
Browse files Browse the repository at this point in the history
Moved Connect/Disconnect code from CClientdlg to CClient.
Now using the proper connected checks in several places.
Added bDisconnectAndDisable to CChannel. (For a Client now
Channel.Disconnect() will block audio data and auto disable the channel on disconnected)
  • Loading branch information
pgScorpio committed Mar 28, 2022
1 parent 09e294c commit db18a55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/clientdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,7 @@ void CClientDlg::OnConnect ( QString strServerName )
// audio feedback detection
if ( pSettings->bEnableFeedbackDetection )
{
<<<<<<< HEAD
// try to start client, if error occurred, do not go in
// running state but show error message
try
Expand Down Expand Up @@ -1223,6 +1224,10 @@ void CClientDlg::OnConnect ( QString strServerName )
TimerDetectFeedback.start ( DETECT_FEEDBACK_TIME_MS ); // single shot timer
bDetectFeedback = true;
}
=======
TimerDetectFeedback.start ( DETECT_FEEDBACK_TIME_MS ); // single shot timer
bDetectFeedback = true;
>>>>>>> f50b4535 (Connection status issue jamulussoftware#2519 second stage)
}
}

Expand Down

0 comments on commit db18a55

Please sign in to comment.