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

Status of Libsamplerate Audio Converter #942

Closed
complexlogic opened this issue Jan 7, 2025 · 1 comment · Fixed by #943
Closed

Status of Libsamplerate Audio Converter #942

complexlogic opened this issue Jan 7, 2025 · 1 comment · Fixed by #943

Comments

@complexlogic
Copy link
Contributor

I'm looking through the source code, and noticed the libsamplerate/SRCresampler TAudioconverter implementation. Its usage in the code is controlled by the definitions UseSRCResample and HaveLibsamplerate, which are never defined by the build system. See here.

Is this still needed, or can it be removed?

@barbeque-squared
Copy link
Member

It's probably a leftover from when something was not completely removed somewhere before 2016 (or never fully implemented to begin with). Easiest thing to do is probably just delete it, open a PR for it and see if anything breaks in the CI (it builds all platforms).

If all jobs pass, for things like this I'll then grab the portable and see if that still works on my Windows, and build + run it on my Linux machine. If nothing appears to be immediately broken, it gets merged. This doesn't need to take long, can be as fast as within a day.

The code you're working with is probably even older than the theme/drawing stuff I'm slowly refactoring, and I've already seen functions that were never called or just duplicates.

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

Successfully merging a pull request may close this issue.

2 participants