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

ALSA: fix buffer size / period size configuration #917

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abique
Copy link
Contributor

@abique abique commented Sep 24, 2024

With ALSA, the buffer size is nperiod * period_size. We want 2 periods ideally.
The default is now set to 1024 samples which is a reasonable default, yet still too large for real-time audio.
Also the default value uses the same code path as custom values.

Fixes #913
Depends on #915 for successful compilation.
Replaces #914

With ALSA, the buffer size is `nperiod * period_size`.
We want 2 periods ideally.

The default is now set to 1024 samples which is a reasonable default,
yet still too large for real-time audio.

The default value now uses the same code path as custom values.

Fixes RustAudio#913
@abique
Copy link
Contributor Author

abique commented Nov 4, 2024

It is now a month that this PR is opened.
Can someone review it please?

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.

Invalid period size specification for ALSA?
1 participant