2024-06-10 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Edit Audio' dialog in rdlibrary(1) that
	caused play-out to fail to stop at the end marker when using the
	'Play To' feature.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2024-06-10 16:26:56 -04:00
parent fc6d0e5b69
commit a828758cbd
2 changed files with 9 additions and 0 deletions

View File

@ -24802,3 +24802,7 @@
2024-06-10 Fred Gleason <fredg@paravelsystems.com> 2024-06-10 Fred Gleason <fredg@paravelsystems.com>
* Reverted the changes made to the 'RDHPIPlayStream::play()' method * Reverted the changes made to the 'RDHPIPlayStream::play()' method
that were made on 2024-05-27. that were made on 2024-05-27.
2024-06-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'Edit Audio' dialog in rdlibrary(1) that
caused play-out to fail to stop at the end marker when using the
'Play To' feature.

View File

@ -578,6 +578,11 @@ void RDMarkerPlayer::caePositionData(unsigned serial,unsigned msec)
d_position_edit-> d_position_edit->
setText(RDGetTimeLength(msec-d_pointers[RDMarkerHandle::CutStart], setText(RDGetTimeLength(msec-d_pointers[RDMarkerHandle::CutStart],
true,true)); true,true));
if((d_active_play_button==d_play_to_button)&&
(msec>=(unsigned)d_pointers[d_selected_markers[1]])) {
buttonStopData();
setCursorPosition(d_loop_start_msec);
}
d_cursor_position=msec; d_cursor_position=msec;
emit cursorPositionChanged(msec); emit cursorPositionChanged(msec);
} }