Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible performance improvement, OWL resampler #81

Open
Tatsuya79 opened this issue Sep 18, 2024 · 1 comment
Open

Possible performance improvement, OWL resampler #81

Tatsuya79 opened this issue Sep 18, 2024 · 1 comment

Comments

@Tatsuya79
Copy link
Contributor

I was playing around with the settings and noticed how the OWL resampler dramatically plays on the performance.
From default 3 to 0 (lowest) I go from 700fps to 850fps.
Max quality 6 gives me around 440fps. (I'm on a Ryzen 5600X)

I changed the code to reduce the quality there:

#define OWLRESAMP_FCALC_RATE_CLAMP 128000.0 //192000.0 //96000.0 //48000.0

and there for the 0 preset:

It gives me around 1000fps average.

I tried to bypass the OWL resampler completely in pce.cpp (no sound out) and it gives me even a bit more, reaching 1100fps peak.

I'm not sure how to properly bypass all that stuff, handling the buffers and coding it properly to make it an option without nuking the original code.
If anyone is interested.

@mudl0rd
Copy link

mudl0rd commented Sep 27, 2024

Would be nice to see how the libretro resampler fairs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants