From 4d720fc651375a91742a3a9d4e8ae3948e13a34d Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 10 Aug 2008 09:56:06 +0000 Subject: [PATCH] added some help text --- src/clientsettingsdlg.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/clientsettingsdlg.cpp b/src/clientsettingsdlg.cpp index f77a4c7d..65cea0e3 100755 --- a/src/clientsettingsdlg.cpp +++ b/src/clientsettingsdlg.cpp @@ -31,6 +31,32 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, QWidget* parent, { setupUi ( this ); + // add help text to controls + QString strJitterBufferSize = tr ( "Jitter Buffer Size: The size of " + "the network buffer (jitter buffer). The jitter buffer compensates for " + "the network jitter. The larger this buffer is, the more robust the " + "connection is against network jitter but the higher is the latency. " + "This setting is therefore a trade-off between audio drop outs and " + "overall audio delay.
By changing this setting, both, the client " + "and the server jitter buffer is set to the same value." ); + SliderNetBuf->setWhatsThis ( strJitterBufferSize ); + TextNetBuf->setWhatsThis ( strJitterBufferSize ); + GroupBoxJitterBuffer->setWhatsThis ( strJitterBufferSize ); + + QString strNetwBlockSize = tr ( "Network Block Size: 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 ); + SliderNetBufSiFactOut->setWhatsThis ( strNetwBlockSize ); + TextNetBufSiFactIn->setWhatsThis ( strNetwBlockSize ); + TextNetBufSiFactOut->setWhatsThis ( strNetwBlockSize ); + GroupBoxNetwBuf->setWhatsThis ( strNetwBlockSize ); + // init timing jitter text label TextLabelStdDevTimer->setText ( "" );