You are not logged in.
Hey,
I have a volume plugin in my openbox system tray, which is set to 0%. However, when I start a youtube video, or even a flash website with background music etc., the sound is automatically turned on and people give me funny looks. One time, I got confused and in the heat of the moment, I just pulled out the notebook's battery and did that left-to-right eye roll.
So, question: Does anyone know why that happens and how to avoid this?
I'm really new to audio stuff, so I don't really know what more info I can give you, but if you tell me what to provide (and possibly, what commands will retrieve that info), of course I can do that.
Thanks in advance,
Alex
Offline
Sounds like the volume plugin isn't setting the volume correctly, or is setting the wrong control (e.g. PCM vs Master control). Run good ol' "alsamixer" to check, and experiment with its controls while playing audio.
Offline
Sounds like the volume plugin isn't setting the volume correctly, or is setting the wrong control (e.g. PCM vs Master control). Run good ol' "alsamixer" to check, and experiment with its controls while playing audio.
alsamixer does the job, yes, but it's weird that when I turn the sound off, and then visit a youtube video, the sound *automatically* turns back on. This looks like a "convenience" feature I don't really like.
Offline
I think what brebs was suggesting was to use alsamixer to make sure your gui doodad is actually connected to the right control: check alsamixer, change the volume with your doodad, then check alsamixer again and see what changed.
Edit: NM I misunderstood.
Last edited by alphaniner (2012-05-23 13:17:28)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
On my soundcard, there are three sliders controlling sound in alsamixer;
Master, PCM, and Front (or headphones).
I suggest that you run alsamixer again in a console,
lower all three to the bottom, or mute them,
and then keep it open as you check a youtube clip, to see if it is actually raised or fiddled with there.
Then, try to figure out what control is "messed" with, if so, and what of the controls that your volume-gui-plugin-thingie' works with,
or if the webbrowser or flash "hijacks" a slider.
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
On my soundcard, there are three sliders controlling sound in alsamixer;
Master, PCM, and Front (or headphones).
I suggest that you run alsamixer again in a console,
lower all three to the bottom, or mute them,
and then keep it open as you check a youtube clip, to see if it is actually raised or fiddled with there.Then, try to figure out what control is "messed" with, if so, and what of the controls that your volume-gui-plugin-thingie' works with,
or if the webbrowser or flash "hijacks" a slider.
Okay, when the plugin's volume is at 0% and I open alsamixer, I see the regular volume bars, but not the PCM one. Then when I start the video, the plugin's volume is at 100%, and when I re-open alsamixer there is now a PCM bar at 100%. mouse-over the plugin also says "100% (PCM)".
It's messing with the PCM bar, and this only has an effect when Master and Speaker are > 0. So before now, I only muted PCM to shut my computer up (and I don't even know what a PCM is
).
Should I just kill the plugin? It's volwheel by the way:
http://www.archlinux.org/packages/commu … /volwheel/
Offline
To be safe:
1. Don't surf porn in the library. ![]()
2. If all else fails, get a phone jack from the electronics part store and plug it to the headphone jack
3. If you have pulse audio, set up a sink that goes nowhere.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Online
I think that using pulseaudio or jack could fix the situation. These sound daemons require you to provide an alternate libflashsupport for flash, which are overrides for audio and video support in flash.
Offline
Okay, when the plugin's volume is at 0% and I open alsamixer, I see the regular volume bars, but not the PCM one. Then when I start the video, the plugin's volume is at 100%, and when I re-open alsamixer there is now a PCM bar at 100%. mouse-over the plugin also says "100% (PCM)".
It's messing with the PCM bar, and this only has an effect when Master and Speaker are > 0. So before now, I only muted PCM to shut my computer up (and I don't even know what a PCM is).
Are you just setting the volume to 0% or have you tried actually muting the sound? Might there be a difference in how the plugin treats these cases?
Caveat: I know less than you do about sound.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
What's your sound setup? ALSA or OSS, JACK or PulseAudio It sounds like you're just using ALSA. Run amixer and hit F6 and note what cards you have and what bars each card has. Do what you normally do to mute sound and go back and check which slider on which card changed. Then, play a flash video and go back and check which slider on which card changed.
Offline
Once you get sound sorted out, you should fix the tray app that turns off your webcam. It keeps spamming different sites with, um, "unflattering" images of you.
p.s. After 3 days, it's really time to change those boxers.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline