mirror of https://github.com/odrling/Aegisub
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:
parent
437cd47cd3
commit
26b7970ed0
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue