2023-12-15 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up warnings about unprocessed CAE commands in the syslog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2023-12-15 14:29:33 -05:00
parent b44511f400
commit 9756d444bf
2 changed files with 23 additions and 2 deletions

View File

@ -24557,3 +24557,5 @@
2023-12-15 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal support for the 'Open RTP Capture Channel' ['CO']
CAE command.
2023-12-15 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up warnings about unprocessed CAE commands in the syslog.

View File

@ -503,8 +503,11 @@ void RDCae::DispatchCommand(const QString &cmd)
was_processed=true;
}
if((cmds.at(0),"LP")&&(cmds.size()==5)) { // Load Play
// FIXME: What should go here?
if((cmds.at(0),"LP")&&(cmds.size()==6)) { // Load Play
unsigned serial=cmds.at(1).toUInt(&ok);
if(ok) {
emit playLoaded(serial);
}
was_processed=true;
}
@ -644,6 +647,22 @@ void RDCae::DispatchCommand(const QString &cmd)
was_processed=true;
}
//
// Processing stubs
//
if(cmds.at(0)=="FV") { // Fade Output Volume
was_processed=true;
}
if(cmds.at(0)=="ME") { // Meter Enable
was_processed=true;
}
if(cmds.at(0)=="OV") { // Set Output Volume
was_processed=true;
}
if(cmds.at(0)=="PP") { // Play Position
was_processed=true;
}
if(!was_processed) {
rda->syslog(LOG_WARNING,"CAE response command \"%s\" was not processed",
cmd.toUtf8().constData());