Add missing milliseconds to samples conversion that resulted in audio playback stopping when the start or end time of the line was changed

Originally committed to SVN as r6467.
This commit is contained in:
Thomas Goyne 2012-02-12 04:16:21 +00:00
parent 437cd47cd3
commit 26b7970ed0
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ void AudioController::OnTimingControllerUpdatedPrimaryRange()
{
if (playback_mode == PM_PrimaryRange)
{
player->SetEndPosition(timing_controller->GetPrimaryPlaybackRange().end());
player->SetEndPosition(SamplesFromMilliseconds(timing_controller->GetPrimaryPlaybackRange().end()));
}
}