only one LED for network jitter buffer; removed unnecessary help text; update date on about dialog
This commit is contained in:
parent
d7043ffbb6
commit
10aea73304
3 changed files with 25 additions and 64 deletions
|
@ -114,7 +114,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="TextLabelCopyright" >
|
<widget class="QLabel" name="TextLabelCopyright" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Copyright (C) 2005 - 2008</string>
|
<string>Copyright (C) 2005 - 2009</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap" >
|
<property name="wordWrap" >
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
|
|
|
@ -43,18 +43,6 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, QWidget* parent,
|
||||||
TextNetBuf->setWhatsThis ( strJitterBufferSize );
|
TextNetBuf->setWhatsThis ( strJitterBufferSize );
|
||||||
GroupBoxJitterBuffer->setWhatsThis ( strJitterBufferSize );
|
GroupBoxJitterBuffer->setWhatsThis ( strJitterBufferSize );
|
||||||
|
|
||||||
QString strNetwBlockSize = tr ( "<b>Network Block Size:</b> The size of "
|
|
||||||
"the network audio blocks for input and output (upstream and "
|
|
||||||
"downstream). The lower these values are set, the lower is the "
|
|
||||||
"overall audio delay but the greater is the network protocoll "
|
|
||||||
"overhead (UDP protocol overhead) which means more bandwidth is "
|
|
||||||
"required. If the upstream/downstream bandwidth is not sufficient "
|
|
||||||
"for the audio stream bandwidth, audio dropouts occur and the "
|
|
||||||
"ping time will increase significantly (the connection is stodged)." );
|
|
||||||
SliderNetBufSiFactIn->setWhatsThis ( strNetwBlockSize );
|
|
||||||
TextNetBufSiFactIn->setWhatsThis ( strNetwBlockSize );
|
|
||||||
GroupBoxNetwBuf->setWhatsThis ( strNetwBlockSize );
|
|
||||||
|
|
||||||
// init delay information controls
|
// init delay information controls
|
||||||
CLEDOverallDelay->SetUpdateTime ( 2 * PING_UPDATE_TIME );
|
CLEDOverallDelay->SetUpdateTime ( 2 * PING_UPDATE_TIME );
|
||||||
CLEDOverallDelay->Reset();
|
CLEDOverallDelay->Reset();
|
||||||
|
@ -336,11 +324,9 @@ void CClientSettingsDlg::SetStatus ( const int iMessType, const int iStatus )
|
||||||
*/
|
*/
|
||||||
|
|
||||||
case MS_JIT_BUF_PUT:
|
case MS_JIT_BUF_PUT:
|
||||||
CLEDNetwPut->SetLight ( iStatus );
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MS_JIT_BUF_GET:
|
case MS_JIT_BUF_GET:
|
||||||
CLEDNetwGet->SetLight ( iStatus );
|
// network LED shows combined status of put and get
|
||||||
|
CLEDNetw->SetLight ( iStatus );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MS_RESET_ALL:
|
case MS_RESET_ALL:
|
||||||
|
@ -348,8 +334,7 @@ void CClientSettingsDlg::SetStatus ( const int iMessType, const int iStatus )
|
||||||
CLEDSoundIn->Reset();
|
CLEDSoundIn->Reset();
|
||||||
CLEDSoundOut->Reset();
|
CLEDSoundOut->Reset();
|
||||||
*/
|
*/
|
||||||
CLEDNetwPut->Reset();
|
CLEDNetw->Reset();
|
||||||
CLEDNetwGet->Reset();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,38 +109,23 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="TextLabel2" >
|
|
||||||
<property name="text" >
|
|
||||||
<string>Put / Get:</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment" >
|
|
||||||
<set>Qt::AlignCenter</set>
|
|
||||||
</property>
|
|
||||||
<property name="wordWrap" >
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" >
|
<layout class="QHBoxLayout" >
|
||||||
<property name="spacing" >
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<property name="leftMargin" >
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="topMargin" >
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="rightMargin" >
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin" >
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="CMultiColorLED" native="1" name="CLEDNetwPut" >
|
<spacer>
|
||||||
|
<property name="orientation" >
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" >
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="CMultiColorLED" native="1" name="CLEDNetw" >
|
||||||
<property name="sizePolicy" >
|
<property name="sizePolicy" >
|
||||||
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
|
@ -162,26 +147,17 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="CMultiColorLED" native="1" name="CLEDNetwGet" >
|
<spacer>
|
||||||
<property name="sizePolicy" >
|
<property name="orientation" >
|
||||||
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
<enum>Qt::Horizontal</enum>
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize" >
|
<property name="sizeHint" >
|
||||||
<size>
|
<size>
|
||||||
<width>13</width>
|
<width>16</width>
|
||||||
<height>13</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize" >
|
</spacer>
|
||||||
<size>
|
|
||||||
<width>13</width>
|
|
||||||
<height>13</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue