mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-13 16:44:10 +01:00
2023-11-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that caused multiple play-outs on a common port to interfere with each others mixer settings. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -691,12 +691,12 @@ void MainObject::setOutputPortData(int id,unsigned card,unsigned stream,
|
||||
return;
|
||||
}
|
||||
if(!rda->config()->testOutputStreams()) {
|
||||
for(unsigned i=0;i<RD_MAX_STREAMS;i++) {
|
||||
if(i==port) {
|
||||
dvr->setOutputVolume(card,i,port,level);
|
||||
for(unsigned i=0;i<RD_MAX_PORTS;i++) {
|
||||
if(i==stream) {
|
||||
dvr->setOutputVolume(card,stream,i,level);
|
||||
}
|
||||
else {
|
||||
dvr->setOutputVolume(card,i,port,RD_FADE_DEPTH);
|
||||
dvr->setOutputVolume(card,stream,i,RD_MUTE_DEPTH);
|
||||
}
|
||||
}
|
||||
if(rda->config()->enableMixerLogging()) {
|
||||
|
||||
Reference in New Issue
Block a user