small fixes
This commit is contained in:
parent
423795afc1
commit
048d8d2e15
3 changed files with 7 additions and 7 deletions
|
@ -570,10 +570,6 @@ int CChannel::GetUploadRateKbps()
|
||||||
SYSTEM_SAMPLE_RATE_HZ / iAudioSizeOut / 1000;
|
SYSTEM_SAMPLE_RATE_HZ / iAudioSizeOut / 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// TEST
|
|
||||||
void CChannel::UpdateSocketBufferSize ( const double dAudioBufferDurationMs,
|
void CChannel::UpdateSocketBufferSize ( const double dAudioBufferDurationMs,
|
||||||
const double dLocalStdDev )
|
const double dLocalStdDev )
|
||||||
{
|
{
|
||||||
|
|
|
@ -404,8 +404,12 @@ int main ( int argc, char** argv )
|
||||||
pMainWindow = &ServerDlg;
|
pMainWindow = &ServerDlg;
|
||||||
pApp = &app; // needed for post-event routine
|
pApp = &app; // needed for post-event routine
|
||||||
|
|
||||||
// show dialog
|
// show dialog (if not the minimized flag is set)
|
||||||
ServerDlg.show();
|
if ( !bStartMinimized )
|
||||||
|
{
|
||||||
|
ServerDlg.show();
|
||||||
|
}
|
||||||
|
|
||||||
app.exec();
|
app.exec();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -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 )
|
void CProtocol::CreateJitBufMes ( const int iJitBufSize )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue