mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 07:31:19 +02:00
2023-10-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions in rdlibrary(1)'s 'Cut Info/Record' and 'Edit Audio' dialogs that broke audio stoppage and looping. * Fixed a regression in caed(1) that caused play-out streams to be leaked when a play-out hit EOF. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1300,11 +1300,14 @@ void MainObject::connectionClosedData(const SessionId &sid)
|
||||
|
||||
void MainObject::statePlayUpdate(int card,int stream,int state)
|
||||
{
|
||||
Driver *dvr=GetDriver(card);
|
||||
|
||||
if(state==0) { // Stopped
|
||||
for(QMap<SessionId,Session *>::iterator it=cae_play_sessions.begin();
|
||||
it!=cae_play_sessions.end();it++) {
|
||||
if((it.value()->cardNumber()==card)&&
|
||||
(it.value()->streamNumber()==stream)) {
|
||||
dvr->unloadPlayback(card,stream);
|
||||
cae_server->
|
||||
sendCommand(it.key(),QString::asprintf("SP %d",
|
||||
it.key().serialNumber()));
|
||||
|
Reference in New Issue
Block a user