From 048d8d2e15407411b269ba16b843633cb15122b8 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 25 May 2011 20:00:54 +0000 Subject: [PATCH] small fixes --- src/channel.cpp | 4 ---- src/main.cpp | 8 ++++++-- src/protocol.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/channel.cpp b/src/channel.cpp index 3b1ec420..4469120f 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -570,10 +570,6 @@ int CChannel::GetUploadRateKbps() SYSTEM_SAMPLE_RATE_HZ / iAudioSizeOut / 1000; } - - - -// TEST void CChannel::UpdateSocketBufferSize ( const double dAudioBufferDurationMs, const double dLocalStdDev ) { diff --git a/src/main.cpp b/src/main.cpp index 4d048709..0ebe7c91 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -404,8 +404,12 @@ int main ( int argc, char** argv ) pMainWindow = &ServerDlg; pApp = &app; // needed for post-event routine - // show dialog - ServerDlg.show(); + // show dialog (if not the minimized flag is set) + if ( !bStartMinimized ) + { + ServerDlg.show(); + } + app.exec(); } else diff --git a/src/protocol.cpp b/src/protocol.cpp index 0442a42e..80744f30 100755 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -621,7 +621,7 @@ if ( rand() < ( RAND_MAX / 2 ) ) return false; /******************************************************************************\ -* Access-functions for creating and parsing messages * +* Access functions for creating and parsing messages * \******************************************************************************/ void CProtocol::CreateJitBufMes ( const int iJitBufSize ) {