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

Resampler not producing audible outputs #1

Open
LovelyA72 opened this issue Nov 10, 2021 · 2 comments
Open

Resampler not producing audible outputs #1

LovelyA72 opened this issue Nov 10, 2021 · 2 comments

Comments

@LovelyA72
Copy link
Owner

This resampler is not producing audible outputs regardless of Windows or Ubuntu.
I am having a few educational guesses.

  1. timeGetTime() function? This is a Windows-only function and I am using a substitute here. The substitute might not be appropriate.
  2. I replaced _fpclass() functions with Linux's fpclassify(). The code is trying to exclude NaN, + Inf, -Inf, denormal which all of them are doable with fpclassify(). Might be due to my incorrect usage of fpclassify()?
@LovelyA72
Copy link
Owner Author

Update 1: Seems like timeGetTime() function is only being used as a performance counter in main.cpp. So that's probably not the cause.

@LovelyA72
Copy link
Owner Author

LovelyA72 commented Nov 10, 2021

Update: Turns out that the process of generating dio, star, and platinum are the issue. I am not sure which one is causing the issue but the resampler will generate audio normally when dio, star, and platinum files are generated from SpaceWorld are provided.

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

1 participant