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

SDL: Show the actually used sample rate in system info. #12910

Merged
merged 4 commits into from
May 16, 2020

Conversation

hrydgard
Copy link
Owner

Right now it'll always be the requested 44100 though anyway, since we don't accept other sample rates. That will be changed later probably.

(I'm debugging some strange unnecessary audio underruns on my mac).

Right now it'll always be the requested 44100 though anyway.
SDL/SDLMain.cpp Outdated Show resolved Hide resolved
@hrydgard
Copy link
Owner Author

Added another piece of debug info and made it easier to display more stats, too.

(Having strange issues where it tries to use a slightly higher sample rate than it should on Mac (around 44200Hz), which results in an underrun per second or so. Will log/display stuff until I see the issue...).

@hrydgard hrydgard added this to the v1.10.0 milestone May 16, 2020
@hrydgard hrydgard merged commit 02fdf00 into master May 16, 2020
@hrydgard hrydgard deleted the sdl-sample-rate-sysinfo branch May 16, 2020 18:59
@unknownbrackets
Copy link
Collaborator

There's already an issue reported about that, actually. See #12705.

-[Unknown]

@hrydgard
Copy link
Owner Author

Ah, right, that looks like the same thing I'm experiencing. Somehow forgot about that one.

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 this pull request may close these issues.

2 participants