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

Reduce latency on Alsa #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

InZan17
Copy link

@InZan17 InZan17 commented Jan 9, 2025

This is good for games where there are many sounds in quick succession. Otherwise the sounds in quick succession will be played at the same time.

All I did was uncomment the code checking how many frames can be delivered, and then create a slice with that size using std::slice::from_raw_parts_mut.

However, there was a comment for the commented code that said it randomly panics sometimes. I haven't encountered any panics with this, but I am wondering if they are just really rare? Or if this implementation just did not have any panics?

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.

1 participant