2024-08-30 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdairplay(1) that broke segue transitions.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2024-08-30 17:31:16 -04:00
parent 49a211e1b9
commit 386ea83eea
2 changed files with 3 additions and 6 deletions

View File

@ -24892,3 +24892,5 @@
2024-08-30 Fred Gleason <fredg@paravelsystems.com>
* Modified log machine logic in rdairplay(1) to properly timescale
event transitions.
2024-08-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that broke segue transitions.

View File

@ -456,8 +456,6 @@ void RDPlayDeck::play(unsigned pos,int segue_start,int segue_end,
if(play_serial==0) {
return;
}
play_point_value[RDPlayDeck::Segue][0]=segue_start;
play_point_value[RDPlayDeck::Segue][1]=segue_end;
play_start_position=pos;
play_current_position=pos;
play_last_start_position=play_start_position;
@ -865,9 +863,6 @@ void RDPlayDeck::StartTimers(int offset)
play_point_state[i]=false;
if((play_point_value[i][0]!=-1)&&
(play_point_value[i][0]!=play_point_value[i][1])) {
// scaled_audio_point[0]=(int)
// (RD_TIMESCALE_DIVISOR*(double)play_audio_point[0]/
// (double)play_timescale_speed);
if((play_point_value[i][0]-play_audio_point[0]-offset)>=0) {
play_point_timer[i]->
start(scaled_point_value[i][0]-scaled_audio_point[0]-offset);