Changes between Version 1 and Version 2 of Ticket #13462, comment 2


Ignore:
Timestamp:
05/05/22 00:26:19 (2 years ago)
Author:
rsn8887

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13462, comment 2

    v1 v2  
    1 After some testing on PSP with Bosca's help on Discord, I found out that, on PSP, changing "samples = 8192" to "samples = 16" or lower in osys_psp.cpp and changing "_mixer = new Audio::MixerImpl(samplesPerSec);" to "_mixer = new Audio::MixerImpl(samplesPerSec, samples);" seems to reduce the audio lag in Full Throttle to 2.5.1 levels of imperceptibly small lag, or at least very close.
     1After some testing on PSP with Bosca's help on Discord, we found out that, on PSP, changing "samples = 8192" to "samples = 16" or lower in osys_psp.cpp and changing "_mixer = new Audio::MixerImpl(samplesPerSec);" to "_mixer = new Audio::MixerImpl(samplesPerSec, samples);" seems to reduce the audio lag in Full Throttle to 2.5.1 levels of imperceptibly small lag, or at least very close.
     2
     3The funny thing is that changing samples to 1024 or even 128 seems to make so change. The change only happens at really low numbers.
    24
    35I am not sure how a 16 sample large buffer can work without producing stuttering, but it seems to work.