parent
ab92abfd63
commit
33073658c6
4 changed files with 16 additions and 1 deletions
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
- avoid showing IP address if no name in the musician profile is given (#316)
|
- avoid showing IP address if no name in the musician profile is given (#316)
|
||||||
|
|
||||||
|
- show channel numbers if --ctrlmidich is used (#241, #95)
|
||||||
|
|
||||||
- bug fix: on MacOS declare an activity to ensure the process doesn't get throttled
|
- bug fix: on MacOS declare an activity to ensure the process doesn't get throttled
|
||||||
by OS level Nap, Sleep, and Thread Priority systems, coded by AronVietti (#23)
|
by OS level Nap, Sleep, and Thread Priority systems, coded by AronVietti (#23)
|
||||||
|
|
||||||
|
@ -23,7 +25,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3.5.5 (2020-05-26)
|
3.5.5 (2020-05-26)
|
||||||
|
|
||||||
- added banjo/mandolin instrument icons created by atsampson (#283)
|
- added banjo/mandolin instrument icons created by atsampson (#283)
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
CClientDlg::CClientDlg ( CClient* pNCliP,
|
CClientDlg::CClientDlg ( CClient* pNCliP,
|
||||||
CSettings* pNSetP,
|
CSettings* pNSetP,
|
||||||
const QString& strConnOnStartupAddress,
|
const QString& strConnOnStartupAddress,
|
||||||
|
const int iCtrlMIDIChannel,
|
||||||
const bool bNewShowComplRegConnList,
|
const bool bNewShowComplRegConnList,
|
||||||
const bool bShowAnalyzerConsole,
|
const bool bShowAnalyzerConsole,
|
||||||
QWidget* parent,
|
QWidget* parent,
|
||||||
|
@ -37,6 +38,7 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
|
||||||
pClient ( pNCliP ),
|
pClient ( pNCliP ),
|
||||||
pSettings ( pNSetP ),
|
pSettings ( pNSetP ),
|
||||||
bConnectDlgWasShown ( false ),
|
bConnectDlgWasShown ( false ),
|
||||||
|
bMIDICtrlUsed ( iCtrlMIDIChannel != INVALID_MIDI_CH ),
|
||||||
ClientSettingsDlg ( pNCliP, parent, Qt::Window ),
|
ClientSettingsDlg ( pNCliP, parent, Qt::Window ),
|
||||||
ChatDlg ( parent, Qt::Window ),
|
ChatDlg ( parent, Qt::Window ),
|
||||||
ConnectDlg ( pNCliP, bNewShowComplRegConnList, parent, Qt::Dialog ),
|
ConnectDlg ( pNCliP, bNewShowComplRegConnList, parent, Qt::Dialog ),
|
||||||
|
@ -812,6 +814,15 @@ void CClientDlg::OnLicenceRequired ( ELicenceType eLicenceType )
|
||||||
|
|
||||||
void CClientDlg::OnConClientListMesReceived ( CVector<CChannelInfo> vecChanInfo )
|
void CClientDlg::OnConClientListMesReceived ( CVector<CChannelInfo> vecChanInfo )
|
||||||
{
|
{
|
||||||
|
// show channel numbers if --ctrlmidich is used (#241, #95)
|
||||||
|
if ( bMIDICtrlUsed )
|
||||||
|
{
|
||||||
|
for ( int i = 0; i < vecChanInfo.Size(); i++ )
|
||||||
|
{
|
||||||
|
vecChanInfo[i].strName.prepend ( QString().setNum ( vecChanInfo[i].iChanID ) + ":" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// update mixer board with the additional client infos
|
// update mixer board with the additional client infos
|
||||||
MainMixerBoard->ApplyNewConClientList ( vecChanInfo );
|
MainMixerBoard->ApplyNewConClientList ( vecChanInfo );
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,6 +72,7 @@ public:
|
||||||
CClientDlg ( CClient* pNCliP,
|
CClientDlg ( CClient* pNCliP,
|
||||||
CSettings* pNSetP,
|
CSettings* pNSetP,
|
||||||
const QString& strConnOnStartupAddress,
|
const QString& strConnOnStartupAddress,
|
||||||
|
const int iCtrlMIDIChannel,
|
||||||
const bool bNewShowComplRegConnList,
|
const bool bNewShowComplRegConnList,
|
||||||
const bool bShowAnalyzerConsole,
|
const bool bShowAnalyzerConsole,
|
||||||
QWidget* parent = nullptr,
|
QWidget* parent = nullptr,
|
||||||
|
@ -96,6 +97,7 @@ protected:
|
||||||
|
|
||||||
bool bConnected;
|
bool bConnected;
|
||||||
bool bConnectDlgWasShown;
|
bool bConnectDlgWasShown;
|
||||||
|
bool bMIDICtrlUsed;
|
||||||
QTimer TimerSigMet;
|
QTimer TimerSigMet;
|
||||||
QTimer TimerBuffersLED;
|
QTimer TimerBuffersLED;
|
||||||
QTimer TimerStatus;
|
QTimer TimerStatus;
|
||||||
|
|
|
@ -608,6 +608,7 @@ int main ( int argc, char** argv )
|
||||||
CClientDlg ClientDlg ( &Client,
|
CClientDlg ClientDlg ( &Client,
|
||||||
&Settings,
|
&Settings,
|
||||||
strConnOnStartupAddress,
|
strConnOnStartupAddress,
|
||||||
|
iCtrlMIDIChannel,
|
||||||
bShowComplRegConnList,
|
bShowComplRegConnList,
|
||||||
bShowAnalyzerConsole,
|
bShowAnalyzerConsole,
|
||||||
nullptr,
|
nullptr,
|
||||||
|
|
Loading…
Reference in a new issue