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

unusuable because of underruns #16

Closed
carnager opened this issue Dec 4, 2015 · 3 comments
Closed

unusuable because of underruns #16

carnager opened this issue Dec 4, 2015 · 3 comments

Comments

@carnager
Copy link

carnager commented Dec 4, 2015

I tried this tonight and the server and client find each other instantly.
When running audio on the server, the client picks up the audio but playback is jerky at best.

2015-12-04 04-37-48 [out] Sleep -13, age: -397, bufferDuration: 30
2015-12-04 04-37-48 [err] XRUN
2015-12-04 04-37-48 [out] correction: -4, factor: 0.996977
2015-12-04 04-37-48 [out] Sleep -13, age: -426, bufferDuration: 30
2015-12-04 04-37-48 [out] correction: -4, factor: 0.996977
2015-12-04 04-37-48 [out] Sleep -13, age: -456, bufferDuration: 30
2015-12-04 04-37-48 [err] XRUN
2015-12-04 04-37-48 [out] correction: -4, factor: 0.996977
2015-12-04 04-37-48 [out] Sleep -13, age: -485, bufferDuration: 30
2015-12-04 04-37-48 [out] correction: -4, factor: 0.996977
2015-12-04 04-37-48 [out] Sleep -12, age: -515, bufferDuration: 30
2015-12-04 04-37-48 [err] XRUN
@carnager
Copy link
Author

carnager commented Dec 4, 2015

To answer my own question:

If the client has pulseaudio running, it's needed to set PULSE_LATENCY_MSEC=60

@mrwhale
Copy link

mrwhale commented Feb 27, 2016

Sorry to be a pain, where are you setting this setting? Within snapclient or pulseaudio?

@carnager
Copy link
Author

it's a environment variable. just run the snapcast client with PULSE_LATENCY_MSEC=60 $yoursnapcast_command

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

No branches or pull requests

2 participants