-
Notifications
You must be signed in to change notification settings - Fork 323
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
Static sound crops up between switching songs #395
Comments
pianobar does not handle the sound playback itself – it relies on libao. |
I am experiencing the same issue (also Ubuntu 12.04, compiled from source) and what I noticed is that white noise isn't static: it's the song playing at high speeds. My second counter would decrement by 8-12 seconds for every real second. The song would slow to normal speed when switching windows form terminal to something else then back again rapidly, or you can just wait and sometimes it slows on its own. This happens once in awhile (maybe once in 2 weeks) and when when it does it happens on and off all that day. I haven't noticed any issues with any other sound producing processes so though I totally agree the likely culprit is sound driver, there's gotta be a variable tied to pianobar. |
How does libao access the audio device on Ubuntu? Does it talk to alsa |
I have the same issue on my Ubuntu 12.04 machine. In /etc/libao.conf, the default driver is set to alsa (and the quiet option is set). |
Try using the "pulse" driver instead of the "alsa" driver on ubuntu. I've not experienced this particular issue, but I'm using "pulse". Also note that libao.conf parsing is extremely fragile: adding comments and keeping options from other drivers can cause libao failures. (See https://trac.xiph.org/ticket/1971) My ubuntu 12.04 libao.conf (which doesn't have issues AFAICT):
Also, the "alsa" output driver has been buggy for me (See https://trac.xiph.org/ticket/1972) |
Using pulseaudio seems to have fixed the issue. |
It sounds like some kind of weird popping white noise that happens during song switches, and abates after a while.
Any documented fixes for this bug?
Ubuntu 12.04, Compiled from git source
The text was updated successfully, but these errors were encountered: