diff --git a/ChangeLog b/ChangeLog index 528ef0df..fe892590 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14613,3 +14613,6 @@ 2014-10-28 Fred Gleason <fredg@paravelsystems.com> * Updated 'NEWS'. * Incremented the package version to 2.10.0. +2014-10-30 Fred Gleason <fredg@paravelsystems.com> + * Fixed a regression in 'lib/rdsimpleplayer.cpp' that cause play + start position to be set incorrectly. diff --git a/lib/rdsimpleplayer.cpp b/lib/rdsimpleplayer.cpp index 2decad64..a7edd87c 100644 --- a/lib/rdsimpleplayer.cpp +++ b/lib/rdsimpleplayer.cpp @@ -135,7 +135,7 @@ void RDSimplePlayer::play(int start_pos) play_cae->setOutputVolume(play_card,play_stream,i,RD_MUTE_DEPTH); } play_cae->setOutputVolume(play_card,play_stream,play_port,0+play_cut_gain); - play_cae->positionPlay(play_handles.back(),q->value(1).toUInt()+start_pos); + play_cae->positionPlay(play_handles.back(),q->value(0).toUInt()+start_pos); play_cae->play(play_handles.back(), q->value(1).toUInt()-(q->value(0).toUInt()+start_pos), RD_TIMESCALE_DIVISOR,false);