some minor changes (help text, renaming, etc.)

This commit is contained in:
Volker Fischer 2011-05-30 07:28:08 +00:00
parent 2303efb046
commit 6a4260352d
4 changed files with 30 additions and 33 deletions

View file

@ -66,6 +66,10 @@ public:
virtual void Start(); virtual void Start();
virtual void Stop(); virtual void Stop();
// device cannot be set under Linux
virtual int GetNumDev() { return 1; }
virtual QString GetDeviceName ( const int ) { return "Jack"; }
// these variables should be protected but cannot since we want // these variables should be protected but cannot since we want
// to access them from the callback function // to access them from the callback function
CVector<short> vecsTmpAudioSndCrdStereo; CVector<short> vecsTmpAudioSndCrdStereo;

View file

@ -45,6 +45,10 @@ public:
virtual void Start(); virtual void Start();
virtual void Stop(); virtual void Stop();
// device cannot be set under MacOS
virtual int GetNumDev() { return 1; }
virtual QString GetDeviceName ( const int ) { return "Core Audio"; }
// these variables should be protected but cannot since we want // these variables should be protected but cannot since we want
// to access them from the callback function // to access them from the callback function
CVector<short> vecsTmpAudioSndCrdStereo; CVector<short> vecsTmpAudioSndCrdStereo;

View file

@ -82,22 +82,24 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, QWidget* parent,
// sound card device // sound card device
cbxSoundcard->setWhatsThis ( tr ( "<b>Sound Card Device:</b> The ASIO " cbxSoundcard->setWhatsThis ( tr ( "<b>Sound Card Device:</b> The ASIO "
"driver (sound card) can be selected using llcon under the Windows " "driver (sound card) can be selected using llcon under the Windows "
"operating system. Under Linux, no sound card selection is possible " "operating system. Under MacOS/Linux, no sound card selection is "
"(always wave mapper is shown and cannot be changed). If the selected " "possible. If the selected ASIO driver is not valid an error message "
"ASIO driver is not valid an error message is shown and the previous " "is shown and the previous valid driver is selected.<br>"
"valid driver is selected.<br>"
"If the driver is selected during an active connection, the connection " "If the driver is selected during an active connection, the connection "
"is stopped, the driver is changed and the connection is started again " "is stopped, the driver is changed and the connection is started again "
"automatically." ) ); "automatically." ) );
cbxSoundcard->setAccessibleName ( tr ( "Sound card device selector combo box" ) ); cbxSoundcard->setAccessibleName ( tr ( "Sound card device selector combo box" ) );
#ifdef _WIN32
// set Windows specific tool tip
cbxSoundcard->setToolTip ( tr ( "In case the <b>ASIO4ALL</b> driver is used, " cbxSoundcard->setToolTip ( tr ( "In case the <b>ASIO4ALL</b> driver is used, "
"please note that this driver usually introduces approx. 10-30 ms of " "please note that this driver usually introduces approx. 10-30 ms of "
"additional audio delay. Using a sound card with a native ASIO driver " "additional audio delay. Using a sound card with a native ASIO driver "
"is therefore recommended.<br>If you are using the <b>kX ASIO</b> " "is therefore recommended.<br>If you are using the <b>kX ASIO</b> "
"driver, make sure to connect the ASIO inputs in the kX DSP settings " "driver, make sure to connect the ASIO inputs in the kX DSP settings "
"panel." ) + TOOLTIP_COM_END_TEXT ); "panel." ) + TOOLTIP_COM_END_TEXT );
#endif
// sound card input/output channel mapping // sound card input/output channel mapping
QString strSndCrdChanMapp = tr ( "<b>Sound Card Channel Mapping:</b> " QString strSndCrdChanMapp = tr ( "<b>Sound Card Channel Mapping:</b> "
@ -171,7 +173,7 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, QWidget* parent,
// open chat on new message // open chat on new message
chbOpenChatOnNewMessage->setWhatsThis ( tr ( "<b>Open Chat on New " chbOpenChatOnNewMessage->setWhatsThis ( tr ( "<b>Open Chat on New "
"Message:</b> If this checkbox is enabled, the chat window will " "Message:</b> If enabled, the chat window will "
"open on any incoming chat text if it not already opened." ) ); "open on any incoming chat text if it not already opened." ) );
chbOpenChatOnNewMessage->setAccessibleName ( tr ( "Open chat on new " chbOpenChatOnNewMessage->setAccessibleName ( tr ( "Open chat on new "
@ -181,10 +183,16 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, QWidget* parent,
"is disabled, a LED in the main window turns green when a " "is disabled, a LED in the main window turns green when a "
"new message has arrived." ) + TOOLTIP_COM_END_TEXT ); "new message has arrived." ) + TOOLTIP_COM_END_TEXT );
// fancy skin
chbGUIDesignFancy->setWhatsThis ( tr ( "<b>Fancy Skin:</b> If enabled, "
"a fancy skin will be applied to the main window." ) );
chbGUIDesignFancy->setAccessibleName ( tr ( "Fancy skin check box" ) );
// use high quality audio // use high quality audio
chbUseHighQualityAudio->setWhatsThis ( tr ( "<b>Use High Quality Audio</b> " chbUseHighQualityAudio->setWhatsThis ( tr ( "<b>Use High Quality Audio:</b> "
"Enabling ""Use High Quality Audio"" will improve the audio quality " "If enabled, it will improve the audio quality "
"by increasing the stream data rate. Make sure that the current " "by increasing the audio stream data rate. Make sure that the current "
"upload rate does not exceed the available bandwidth of your " "upload rate does not exceed the available bandwidth of your "
"internet connection." ) ); "internet connection." ) );
@ -251,14 +259,13 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, QWidget* parent,
#ifdef _WIN32 #ifdef _WIN32
butDriverSetup->setText ( "ASIO Setup" ); butDriverSetup->setText ( "ASIO Setup" );
#else #else
// no use for this button for Linux right now, maybe later used // no use for this button for MacOS/Linux right now -> hide it
// for Jack
butDriverSetup->hide(); butDriverSetup->hide();
#endif
// for Jack interface, we cannot choose the audio hardware from // set sound card selection to read-only for MacOS/Linux
// within the llcon software, hide the combo box #ifndef _WIN32
lblSoundcardDevice->hide(); cbxSoundcard->setEnabled ( false );
cbxSoundcard->hide();
#endif #endif
// init delay and other information controls // init delay and other information controls

View file

@ -499,7 +499,7 @@
<item> <item>
<widget class="QCheckBox" name="chbGUIDesignFancy" > <widget class="QCheckBox" name="chbGUIDesignFancy" >
<property name="text" > <property name="text" >
<string>Fancy GUI Design</string> <string>Fancy Skin</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -587,12 +587,6 @@
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
<property name="frameShape" >
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Sunken</enum>
</property>
<property name="text" > <property name="text" >
<string>val</string> <string>val</string>
</property> </property>
@ -634,12 +628,6 @@
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
<property name="frameShape" >
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Sunken</enum>
</property>
<property name="text" > <property name="text" >
<string>val</string> <string>val</string>
</property> </property>
@ -694,12 +682,6 @@
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
<property name="frameShape" >
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Sunken</enum>
</property>
<property name="text" > <property name="text" >
<string>val</string> <string>val</string>
</property> </property>