Merge branch 'master' into feature/savestates-2
This commit is contained in:
@@ -431,7 +431,7 @@ bool DspHle::Impl::Tick() {
|
||||
// shared memory region)
|
||||
current_frame = GenerateCurrentFrame();
|
||||
|
||||
parent.OutputFrame(current_frame);
|
||||
parent.OutputFrame(std::move(current_frame));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@@ -289,7 +289,9 @@ void Source::GenerateFrame() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
state.next_sample_number += static_cast<u32>(frame_position);
|
||||
// TODO(jroweboy): Keep track of frame_position independently so that it doesn't lose precision
|
||||
// over time
|
||||
state.next_sample_number += static_cast<u32>(frame_position * state.rate_multiplier);
|
||||
|
||||
state.filters.ProcessFrame(current_frame);
|
||||
}
|
||||
|
Reference in New Issue
Block a user