audioplaybackcache: ensure waveform is shifted

This commit is contained in:
itsmattkc
2021-10-09 14:09:23 -07:00
parent 59dc40a6d5
commit e02f50becd
+2
View File
@@ -172,6 +172,8 @@ void AudioPlaybackCache::WriteSilence(const TimeRange &range)
void AudioPlaybackCache::ShiftEvent(const rational &from_in_time, const rational &to_in_time)
{
visual_.Shift(from_in_time, to_in_time);
qint64 to = params_.time_to_bytes_per_channel(to_in_time);
qint64 from = params_.time_to_bytes_per_channel(from_in_time);