2023-09-25 Fred Gleason <fredg@paravelsystems.com>

* Incremented the package version to 4.1.0fix0.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2023-09-25 16:38:48 -04:00
parent c554883f67
commit 416dc48bcf
2 changed files with 12 additions and 6 deletions

View File

@ -24344,3 +24344,6 @@
segfault when switching user context.
2023-09-25 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 4.1.0fix0.
2023-09-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) and rdpanel(1) that could cause a
segfault when switching user context.

View File

@ -1701,13 +1701,16 @@ void RDSoundPanel::Stopped(int id)
void RDSoundPanel::ClearChannel(int id)
{
RDPlayDeck *playdeck=panel_active_buttons[id]->playDeck();
if(playdeck!=NULL) {
if(rda->cae()->
playPortActive(playdeck->card(),playdeck->port(),playdeck->stream())) {
return;
}
panel_event_player->exec(panel_stop_rml[panel_active_buttons[id]->output()]);
panel_event_player->
exec(panel_stop_rml[panel_active_buttons[id]->output()]);
emit channelStopped(panel_active_buttons[id]->output(),
playdeck->card(),playdeck->port());
}
}