From 5f323857f990df83ca1035f78f24a5b2c283dc0b Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 10 Jun 2019 16:51:48 -0400 Subject: [PATCH] 2019-06-10 Fred Gleason * Fixed a regression in caed(8) that caused mixer commands to be applied with inverted sign. --- ChangeLog | 3 +++ cae/cae_server.cpp | 2 +- lib/rdcae.cpp | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 56608acf..b704894a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18756,3 +18756,6 @@ 2019-06-10 Fred Gleason * Removed the 'Channels=' directive from the '[Format]' section of rd.conf(5). +2019-06-10 Fred Gleason + * Fixed a regression in caed(8) that caused mixer commands to + be applied with inverted sign. diff --git a/cae/cae_server.cpp b/cae/cae_server.cpp index 8e31e2e2..7a25feb7 100644 --- a/cae/cae_server.cpp +++ b/cae/cae_server.cpp @@ -162,7 +162,7 @@ void CaeServer::readyReadData(int id) ProcessCommand(id,cae_connections.value(id)->accum); } else { - if(isalnum(0xFF&data[i])||(c=='_')||(c==' ')) { + if(isalnum(0xFF&data[i])||(c=='_')||(c=='-')||(c==' ')) { cae_connections.value(id)->accum+=0xFF&data[i]; } } diff --git a/lib/rdcae.cpp b/lib/rdcae.cpp index 6aa8eea4..241fc3ec 100644 --- a/lib/rdcae.cpp +++ b/lib/rdcae.cpp @@ -488,7 +488,6 @@ void RDCae::clockData() void RDCae::SendCommand(QString cmd) { - //printf("RDCae: SendCommand(%s)\n",(const char *)cmd); cae_socket->writeBlock((const char *)cmd,cmd.length()); }