1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-04-10 06:48:22 +02:00

2019-07-19 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug that broke the 'Switch Take' ['ST'],
	'Switch Add' ['SA'] and 'Switch Remove' ['SR'] RMLs when
	using the 'Local Audio Adapter' driver.
This commit is contained in:
Fred Gleason 2019-07-19 12:30:19 -04:00
parent ba501b0259
commit 504754f726
2 changed files with 6 additions and 2 deletions

@ -18867,3 +18867,7 @@
* Added an rdlogmanager(1) man page. * Added an rdlogmanager(1) man page.
2019-07-16 Fred Gleason <fredg@paravelsystems.com> 2019-07-16 Fred Gleason <fredg@paravelsystems.com>
* Added an rdairplay(1) man page. * Added an rdairplay(1) man page.
2019-07-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the 'Switch Take' ['ST'],
'Switch Add' ['SA'] and 'Switch Remove' ['SR'] RMLs when
using the 'Local Audio Adapter' driver.

@ -508,9 +508,9 @@ bool CaeServer::ProcessCommand(int id,const QString &cmd)
if(ok&&(card<RD_MAX_CARDS)) { if(ok&&(card<RD_MAX_CARDS)) {
unsigned input=f0.at(2).toUInt(&ok); unsigned input=f0.at(2).toUInt(&ok);
if(ok&&(input<RD_MAX_PORTS)) { if(ok&&(input<RD_MAX_PORTS)) {
unsigned output=f0.at(2).toUInt(&ok); unsigned output=f0.at(3).toUInt(&ok);
if(ok&&(output<RD_MAX_PORTS)) { if(ok&&(output<RD_MAX_PORTS)) {
int level=f0.at(3).toUInt(&ok); int level=f0.at(4).toInt(&ok);
if(ok) { if(ok) {
emit setAudioPassthroughLevelReq(id,card,input,output,level); emit setAudioPassthroughLevelReq(id,card,input,output,level);
was_processed=true; was_processed=true;