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

delayed volume changes #679

Open
majuscule opened this issue Mar 19, 2019 · 6 comments
Open

delayed volume changes #679

majuscule opened this issue Mar 19, 2019 · 6 comments
Labels

Comments

@majuscule
Copy link

Subject of the issue

I have a very strange issue where volume changes are extremely delayed (5-10 seconds to take effect).

Your environment

  • 2019.02.14
  • 5.0.0-arch1-1-ARCH x86_64
  • config file is user/pass/event_command (catching only songstart)
  • alsa-lib 1.1.8-1

Steps to reproduce

Start pianobar, adjust sound with ( or ).

Expected behaviour

Volume should change immediately.

Actual behaviour

Volume takes several seconds to begin adjusting, and then slowly fades to the correct volume.

Additional notes

Adjusting volume with alsamixer is instantaneous.

@PromyLOPh PromyLOPh added the bug label Mar 20, 2019
@PromyLOPh
Copy link
Owner

PromyLOPh commented Mar 20, 2019 via email

@majuscule
Copy link
Author

That makes sense but I am confused as to why this is the first time I am seeing this behavior. I have used pianobar on several machines, and this happens to be the "fastest" I've ever tried it on (intel i7-8700k, 12 cores (hyperthreaded) @ 3.7ghz). Does lowering buffer_seconds have any other side effects such as worse performance during brief internet disconnections?

@majuscule
Copy link
Author

For that matter, I'm fairly certain that this was not always the case. I remember using pianobar on this box without this issue some time ago.

@PromyLOPh
Copy link
Owner

PromyLOPh commented Mar 20, 2019 via email

jvshahid added a commit to jvshahid/emacs-config that referenced this issue Jul 16, 2019
Audio buffering causes volume changes to be delayed.  See
PromyLOPh/pianobar#679 for more information.
@majuscule
Copy link
Author

Been a while; setting buffer_seconds = 0 did resolve the issue for me. I'd argue it's still a bug that the default configuration gives this issue for machines capable of quick decoding, but if you'd like to close this issue it's fine by me. Thank you for pianobar & your help!

@PromyLOPh
Copy link
Owner

No, it is a bug, so I’ll leave it open. I just don’t know how to solve this right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants