forked from mia/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
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ void AudioController::OnTimingControllerUpdatedPrimaryRange()
|
||||||
{
|
{
|
||||||
if (playback_mode == PM_PrimaryRange)
|
if (playback_mode == PM_PrimaryRange)
|
||||||
{
|
{
|
||||||
player->SetEndPosition(timing_controller->GetPrimaryPlaybackRange().end());
|
player->SetEndPosition(SamplesFromMilliseconds(timing_controller->GetPrimaryPlaybackRange().end()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue