mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-21 16:11:14 +01:00
2024-06-10 Fred Gleason <fredg@paravelsystems.com>
* Reverted the changes made to the 'RDHPIPlayStream::play()' method that were made on 2024-05-27. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24799,3 +24799,6 @@
|
|||||||
2024-06-06 Fred Gleason <fredg@paravelsystems.com>
|
2024-06-06 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added 'scripts/rivendell/rd_backup_system.sh' and
|
* Added 'scripts/rivendell/rd_backup_system.sh' and
|
||||||
'rivendell/rd_restore_system.sh' to '/usr/share/rivendell/'.
|
'rivendell/rd_restore_system.sh' to '/usr/share/rivendell/'.
|
||||||
|
2024-06-10 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Reverted the changes made to the 'RDHPIPlayStream::play()' method
|
||||||
|
that were made on 2024-05-27.
|
||||||
|
|||||||
@@ -496,7 +496,8 @@ bool RDHPIPlayStream::play()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if(!is_paused) {
|
bool restart_timer=false;
|
||||||
|
if(!is_paused) {
|
||||||
memset(pdata,0,fragment_size);
|
memset(pdata,0,fragment_size);
|
||||||
left_to_write=getDataLength()-seekWave(0,SEEK_CUR);
|
left_to_write=getDataLength()-seekWave(0,SEEK_CUR);
|
||||||
if(left_to_write<fragment_size) {
|
if(left_to_write<fragment_size) {
|
||||||
@@ -542,8 +543,9 @@ bool RDHPIPlayStream::play()
|
|||||||
emit played();
|
emit played();
|
||||||
emit stateChanged(card_number,stream_number,(int)stream_state);
|
emit stateChanged(card_number,stream_number,(int)stream_state);
|
||||||
}
|
}
|
||||||
|
restart_timer=true;
|
||||||
}
|
}
|
||||||
if(play_length>0) {
|
if((play_length>0)&&restart_timer) {
|
||||||
play_timer->start(play_length);
|
play_timer->start(play_length);
|
||||||
start_time=QTime::currentTime();
|
start_time=QTime::currentTime();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user