-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Roc can't play with PulseAudio when Resampler is enabled on Raspberry Pi A #64
Comments
Related to #68. |
Note that it's reproduced only when:
At first, we need to determine the bottleneck. Resampler and SoX are separate threads, so we can start with just monitoring their CPU usage. Then we can profile them with tools like pprof. |
The problem is that Resampler eats up to ~85% CPU, and PulseAudio eats ~20% CPU, and thus we are out of CPU and hear glitches. |
This is likely to be fixed by #85. |
Needs testing. |
Unable to test it, but I hope it's fixed. Closing for now. |
If
Resampler
is enabled, andSoX
is used for audio output (pulseaudio or ALSA), playback is discontinuous.If we:
Resampler
(--resampling=no
), oralsa
branch) instead of SoX,everything becomes OK. This means that we have problems with CPU usage.
The text was updated successfully, but these errors were encountered: