diff --git a/ChangeLog b/ChangeLog
index 63b92d3e..203b40e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
- support sorting faders by channel instrument, coded by Alberstein8 (#356)
+- add server recording indicator, coded by pljones (#295)
+
- support for storing/recovering the server window positions (#357)
@@ -17,6 +19,7 @@
+
3.5.6 (2020-06-09)
- support sorting faders by channel name (#178)
diff --git a/src/audiomixerboard.cpp b/src/audiomixerboard.cpp
index 581408c0..0a1d902d 100755
--- a/src/audiomixerboard.cpp
+++ b/src/audiomixerboard.cpp
@@ -630,9 +630,9 @@ CAudioMixerBoard::CAudioMixerBoard ( QWidget* parent, Qt::WindowFlags ) :
setAccessibleName ( "Personal Mix at the Server groupbox" );
- setWhatsThis ( "" + tr( "Personal Mix at the Server" ) + ": " +
+ setWhatsThis ( "" + tr ( "Personal Mix at the Server" ) + ": " +
tr ( "When connected to a server, the controls here allow you to set " ) +
- tr ( "your local mix without affecting what others hear from you.") + "
" +
+ tr ( "your local mix without affecting what others hear from you." ) + "
" +
tr ( "The title shows the server name and, when known, "
"whether it is actively recording." ) );
@@ -816,23 +816,23 @@ void CAudioMixerBoard::ChangeFaderOrder ( const bool bDoSort,
}
}
-QString CAudioMixerBoard::GetTitle()
+void CAudioMixerBoard::UpdateTitle()
{
- QString myTitle = "";
+ QString strTitlePrefix = "";
+
if ( eRecorderState == RS_RECORDING )
{
- myTitle = "[" + tr ( "RECORDING ACTIVE" ) + "] ";
+ strTitlePrefix = "[" + tr ( "RECORDING ACTIVE" ) + "] ";
}
- return myTitle + tr ( "Personal Mix at: " ) + strServerName;
+
+ setTitle ( strTitlePrefix + tr ( "Personal Mix at: " ) + strServerName );
}
void CAudioMixerBoard::SetRecorderState ( const ERecorderState newRecorderState )
{
+ // store the new recorder state and update the title
eRecorderState = newRecorderState;
- if ( !strServerName.isEmpty() && !bNoFaderVisible )
- {
- setTitle ( GetTitle() );
- }
+ UpdateTitle();
}
void CAudioMixerBoard::ApplyNewConClientList ( CVector& vecChanInfo )
@@ -841,7 +841,7 @@ void CAudioMixerBoard::ApplyNewConClientList ( CVector& vecChanInf
// in the audio mixer board to show a "try to connect" before
if ( bNoFaderVisible )
{
- setTitle ( GetTitle() );
+ UpdateTitle();
}
// get number of connected clients
diff --git a/src/audiomixerboard.h b/src/audiomixerboard.h
index 9415453b..3d8457be 100755
--- a/src/audiomixerboard.h
+++ b/src/audiomixerboard.h
@@ -190,8 +190,6 @@ protected:
}
};
- QString GetTitle();
-
bool GetStoredFaderSettings ( const CChannelInfo& ChanInfo,
int& iStoredFaderLevel,
int& iStoredPanValue,
@@ -200,6 +198,7 @@ protected:
void StoreFaderSettings ( CChannelFader* pChanFader );
void UpdateSoloStates();
+ void UpdateTitle();
void OnGainValueChanged ( const int iChannelIdx,
const double dValue );
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 838e7145..61be0026 100755
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -1585,8 +1585,8 @@ bool CProtocol::EvaluateRecorderStateMes(const CVector& vecData)
const int iRecorderState =
static_cast ( GetValFromStream ( vecData, iPos, 1 ) );
- if ( ( iRecorderState != RS_UNDEFINED ) &&
- ( iRecorderState != RS_NOT_INITIALISED ) &&
+ // note that RS_UNDEFINED is only internally used
+ if ( ( iRecorderState != RS_NOT_INITIALISED ) &&
( iRecorderState != RS_NOT_ENABLED ) &&
( iRecorderState != RS_RECORDING ) )
{
diff --git a/src/res/translation/translation_de_DE.qm b/src/res/translation/translation_de_DE.qm
index 56d35893..e697891c 100644
Binary files a/src/res/translation/translation_de_DE.qm and b/src/res/translation/translation_de_DE.qm differ
diff --git a/src/res/translation/translation_de_DE.ts b/src/res/translation/translation_de_DE.ts
index 6dfdae60..69ce25b3 100644
--- a/src/res/translation/translation_de_DE.ts
+++ b/src/res/translation/translation_de_DE.ts
@@ -190,18 +190,43 @@
CAudioMixerBoard
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
V E R B I N D U N G S A U F B A U
-
-
+
+
+
+
+
+
+
Eigener Mix am Server:
@@ -715,7 +740,7 @@
-
+
&Verbinden
@@ -769,18 +794,18 @@
Keine
-
+
Mitte
-
+
-
+
@@ -865,22 +890,22 @@
Sortiere Kanäle nach &Instrument
-
+
Zentralserver
-
+
Musiker
-
+
Musiker
-
+
&Trennen
@@ -1513,22 +1538,22 @@
Manuell
-
+
Benutzerdefiniert
-
+
Alle Genres
-
+
Genre Rock
-
+
Genre Jazz
@@ -1537,12 +1562,12 @@
Genre Rock/Jazz
-
+
Genre Klassik/Volksmusik/Chor
-
+
Standard
@@ -2643,22 +2668,22 @@
Server
-
+
Vordefinierte Adresse
-
+
Aufnahme
-
+
Keine Aufnahme
-
+
Nicht aktiviert
@@ -2685,42 +2710,42 @@
&Fenster
-
+
Nicht registriert
-
+
Ungültige Adresse
-
+
Registrierung angefordert
-
+
Registrierung fehlgeschlagen
-
+
Überprüfe Version des Servers
-
+
Registriert
-
+
Zentralserver voll
-
+
Unbekannter Wert
diff --git a/src/res/translation/translation_es_ES.qm b/src/res/translation/translation_es_ES.qm
index 0d5c7ce9..cbaba548 100644
Binary files a/src/res/translation/translation_es_ES.qm and b/src/res/translation/translation_es_ES.qm differ
diff --git a/src/res/translation/translation_es_ES.ts b/src/res/translation/translation_es_ES.ts
index e8e494ad..525fb649 100644
--- a/src/res/translation/translation_es_ES.ts
+++ b/src/res/translation/translation_es_ES.ts
@@ -194,18 +194,43 @@
CAudioMixerBoard
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Servidor
-
+
I N T E N T A N D O C O N E C T A R
-
-
+
+
+
+
+
+
+
Mezcla Personal en el Servidor:
@@ -727,7 +752,7 @@
-
+
C&onectar
@@ -777,18 +802,18 @@
Ninguno
-
+
Centro
-
+
R
-
+
L
@@ -873,22 +898,22 @@
Ordenar Canales por &Instrumento
-
+
Servidor Central
-
+
usuario
-
+
usuarios
-
+
D&esconectar
@@ -1521,12 +1546,12 @@
Manual
-
+
Personalizado
-
+
Todos los Géneros
@@ -1535,22 +1560,22 @@
Género Rock/Jazz
-
+
Género Clásica/Folk/Coro
-
+
Género Rock
-
+
Género Jazz
-
+
Por defecto
@@ -2655,22 +2680,22 @@
-
+
Dirección Preestablecida
-
+
Grabando
-
+
No grabando
-
+
No habilitado
@@ -2697,42 +2722,42 @@
&Ventana
-
+
Sin registrar
-
+
Dirección no válida
-
+
Registro solicitado
-
+
Error de registro
-
+
Comprueba la versión del servidor
-
+
Registrado
-
+
Servidor Central lleno
-
+
Valor desconocido
diff --git a/src/res/translation/translation_fr_FR.qm b/src/res/translation/translation_fr_FR.qm
index 922678b1..7cd60017 100644
Binary files a/src/res/translation/translation_fr_FR.qm and b/src/res/translation/translation_fr_FR.qm differ
diff --git a/src/res/translation/translation_fr_FR.ts b/src/res/translation/translation_fr_FR.ts
index 916a7929..0e73552b 100644
--- a/src/res/translation/translation_fr_FR.ts
+++ b/src/res/translation/translation_fr_FR.ts
@@ -202,18 +202,43 @@
CAudioMixerBoard
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Serveur
-
+
T E N T A T I V E D E C O N N E X I O N
-
-
+
+
+
+
+
+
+
Mixage personnel du serveur :
@@ -723,7 +748,7 @@
-
+
Se c&onnecter
@@ -777,18 +802,18 @@
Aucun
-
+
Centre
-
+
D
-
+
G
@@ -873,22 +898,22 @@
-
+
Serveur central
-
+
utilisateur
-
+
utilisateurs
-
+
Dé&connecter
@@ -1525,12 +1550,12 @@
Manuel
-
+
Personnalisé
-
+
Tous les genres
@@ -1539,22 +1564,22 @@
Genre rock/jazz
-
+
Genre classique/folk/choeur
-
+
Genre Rock
-
+
Genre Jazz
-
+
Défaut
@@ -2647,22 +2672,22 @@
serveur
-
+
Adresse prédéfinie
-
+
Enregistrement
-
+
Ne pas enregistrer
-
+
Non activé
@@ -2689,42 +2714,42 @@
&Fenêtre
-
+
Non inscrit
-
+
Mauvaise adresse
-
+
Inscription demandée
-
+
Échec de l'inscription
-
+
Vérifier la version du serveur
-
+
Inscrit
-
+
Serveur central rempli
-
+
Valeur inconnue
diff --git a/src/res/translation/translation_it_IT.qm b/src/res/translation/translation_it_IT.qm
index fad3e633..11929a8d 100644
Binary files a/src/res/translation/translation_it_IT.qm and b/src/res/translation/translation_it_IT.qm differ
diff --git a/src/res/translation/translation_it_IT.ts b/src/res/translation/translation_it_IT.ts
index 1fcc8ed6..d49733c2 100644
--- a/src/res/translation/translation_it_IT.ts
+++ b/src/res/translation/translation_it_IT.ts
@@ -190,18 +190,43 @@
CAudioMixerBoard
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Server
-
+
I N A T T E S A D I C O N N E S S I O N E
-
-
+
+
+
+
+
+
+
Mixer personale sul Server:
@@ -560,7 +585,7 @@
-
+
L
@@ -783,7 +808,7 @@
-
+
C&onnetti
@@ -847,32 +872,32 @@
Nullo
-
+
Centro
-
+
R
-
+
Server Centrale
-
+
utente
-
+
utenti
-
+
D&isconnetti
@@ -1537,32 +1562,32 @@
Ok
-
+
Personalizzato
-
+
Tutti i Generi
-
+
Genere Rock
-
+
Genere Jazz
-
+
Genere Classica/Folk/Corale
-
+
Default
@@ -2621,62 +2646,62 @@
&Finestra
-
+
Indirizzo Predefinito
-
+
Registrazione
-
+
Registrazione Ferma
-
+
Non Abilitata
-
+
Non registrato
-
+
Indirizzo Errato
-
+
Registrazione richiesta
-
+
Registrazione fallita
-
+
Controlla Versione server
-
+
Registrato
-
+
Server Centrale Pieno
-
+
Valore sconosciuto
diff --git a/src/res/translation/translation_nl_NL.ts b/src/res/translation/translation_nl_NL.ts
index 7b289a7f..c864878d 100644
--- a/src/res/translation/translation_nl_NL.ts
+++ b/src/res/translation/translation_nl_NL.ts
@@ -190,18 +190,43 @@
CAudioMixerBoard
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Server
-
+
A A N H E T V E R B I N D E N
-
-
+
+
+
+
+
+
+
@@ -552,7 +577,7 @@
-
+
L
@@ -775,7 +800,7 @@
-
+
C&onnect
@@ -835,32 +860,32 @@
Geen
-
+
Centrum
-
+
R
-
+
-
+
gebruiker
-
+
gebruikers
-
+
&Afmelden
@@ -1485,32 +1510,32 @@
Handmatig
-
+
-
+
-
+
-
+
-
+
-
+
Standaard
@@ -2599,22 +2624,22 @@
server
-
+
-
+
-
+
-
+
@@ -2641,42 +2666,42 @@
&Window
-
+
Niet geregistreerd
-
+
Slecht adres
-
+
Aanmelding gevraagd
-
+
Registratie is mislukt
-
+
Controleer de versie van de server
-
+
Geregistreerd
-
+
Centrale server vol
-
+
Onbekende waarde
diff --git a/src/res/translation/translation_pl_PL.ts b/src/res/translation/translation_pl_PL.ts
index d408dab7..18bd9f20 100644
--- a/src/res/translation/translation_pl_PL.ts
+++ b/src/res/translation/translation_pl_PL.ts
@@ -158,18 +158,43 @@
CAudioMixerBoard
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
@@ -464,7 +489,7 @@
-
+
@@ -635,7 +660,7 @@
-
+
@@ -695,32 +720,32 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1225,32 +1250,32 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -2244,22 +2269,22 @@
-
+
-
+
-
+
-
+
@@ -2289,42 +2314,42 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/src/res/translation/translation_pt_PT.qm b/src/res/translation/translation_pt_PT.qm
index da5729ef..1fca6c2d 100644
Binary files a/src/res/translation/translation_pt_PT.qm and b/src/res/translation/translation_pt_PT.qm differ
diff --git a/src/res/translation/translation_pt_PT.ts b/src/res/translation/translation_pt_PT.ts
index fda43a8f..bb350ebc 100644
--- a/src/res/translation/translation_pt_PT.ts
+++ b/src/res/translation/translation_pt_PT.ts
@@ -202,18 +202,43 @@
CAudioMixerBoard
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Servidor
-
+
T E N T A N D O L I G A R
-
-
+
+
+
+
+
+
+
Mistura Pessoal no Servidor:
@@ -719,7 +744,7 @@
-
+
&Ligar
@@ -773,18 +798,18 @@
Nenhum
-
+
Centro
-
+
R
-
+
L
@@ -869,22 +894,22 @@
-
+
Servidor Central
-
+
utilizador
-
+
utilizadores
-
+
Desl&igar
@@ -1513,22 +1538,22 @@
Manual
-
+
Personalizado
-
+
Servidor Geral
-
+
Servidor Rock
-
+
Servidor Jazz
@@ -1537,12 +1562,12 @@
Servidor Rock/Jazz
-
+
Serv. Clássica/Folclore/Coro
-
+
Servidor Padrão
@@ -2631,22 +2656,22 @@
-
+
Endereço Predefinido
-
+
A gravar
-
+
Não está a gravar
-
+
Desactivado
@@ -2673,42 +2698,42 @@
&Janela
-
+
Não Registado
-
+
Endereço incorrecto
-
+
Registo solicitado
-
+
Falha no registo
-
+
Verifique versão do servidor
-
+
Registado
-
+
Servidor Central Cheio
-
+
Valor desconhecido