-
Notifications
You must be signed in to change notification settings - Fork 12
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
Audio feature wrong volume #49
Comments
Hey, yeah I have some issues with amixer too sometimes. Until today, I only did trial and error. Are you using pulseaudio? Maybe have a look into pavucontrol and set the default output device. |
Yes I am already using pulseaudio. Sadly that means that I can't get around trying to rewrite the audio part of your code, so it would fit the output i used for the original dwmstatus, although I don't think i am qualified to do so. I will report back tomorrow and see if I was able to do something. Thanks for the reply. |
I fixed some stuff today by disabling my intel SoundCard, now my USB Interface is set a default basically. Sincerely, Joel |
A new option for the audio feature could be added, but I need to know how to get the current volume and a trigger to update the bar when volume changes. Feel free to have a look at src/feature/audio. |
I really am no expert but i am able to get the volume with "pulsemixer --get-volume" and cut it down to one number with "pulsemixer --get-volume | cut -c 1-2" I am just not able to implement the reading of the current volume ( yet, hopefully ) |
I would propose the following:
Would these commands work in your environment? If you know rust, you can try to create a PR. Don't know when I have the time for it. |
I just put something together at pulseaudio branch. The only thing missing is a nice and easy way to trigger updates for the audio component. Do you have any ideas? Does |
Hey sorry for only answering now. I just checked it out and i love it. It works perfectly. I couldn't get alsactl to show volume changes, but i am working on something that might enable me to get volume changes. Thank you so much for doing this! |
This is totally not your fault, it is more a question on my side. The Control "Master" doesn't show my actual volume. And none of "amixer get <PCM/Speaker/etc> outputs show my actual volume. Is there anyway you could help me? I've spent hours trying to figure it out with the original dwmstatus and wanted to try yours now.
Best regards, Joel
The text was updated successfully, but these errors were encountered: