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

Recording stabilizations #3

Merged
merged 2 commits into from
Apr 3, 2018

Conversation

paraenggu
Copy link
Member

The following PR tries to address recently observed recording issues, by increasing buffers on jackd and rotter. While this leads to higher latency, the recording should be more stable on busy or low-end systems.

To prevent xruns (JackEngine::XRun) on low-end systems, the period size
(--period, the number of frames between JACK process() calls) was raised
from the default of 1024 to 2048. While this yields in higher latency,
xruns should be less likely to happen.
To prevent ringbuffer overflows on busy or slow systems, the length of
the ringbuffer was raised from the default of 2 to 10 seconds. This
should prevent the following errors:
  Ringbuffer A overflowed while writing audio
  Ringbuffer B overflowed while writing audio.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.977% when pulling 8856855 on paraenggu:recording-stabilizations into a2273e1 on radiorabe:master.

@codez codez merged commit 6df5206 into radiorabe:master Apr 3, 2018
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.

3 participants