mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
Don't handle cycles late if stretcher is active
Timestretcher seems to be broken
This commit is contained in:
parent
24c2930012
commit
28aa697528
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ void Stream::PlayNextBuffer(s64 cycles_late) {
|
||||||
|
|
||||||
sink_stream.EnqueueSamples(GetNumChannels(), active_buffer->GetSamples());
|
sink_stream.EnqueueSamples(GetNumChannels(), active_buffer->GetSamples());
|
||||||
|
|
||||||
core_timing.ScheduleEvent(GetBufferReleaseNS(*active_buffer) - cycles_late, release_event, {});
|
core_timing.ScheduleEvent(GetBufferReleaseNS(*active_buffer) -
|
||||||
|
(Settings::values.enable_audio_stretching ? 0 : cycles_late),
|
||||||
|
release_event, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
void Stream::ReleaseActiveBuffer(s64 cycles_late) {
|
void Stream::ReleaseActiveBuffer(s64 cycles_late) {
|
||||||
|
|
Loading…
Reference in a new issue