Mplayer mutes settings and volume levels in alsamixer
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The original folks who wrote alsa apparently imagined us all with big woofers on hundreds of watts amplification. So in case we'd blow speakers with the power-on "Whooompf!" as we charged our 1 Farad of capacitors, muting the output seemed smart to them… very strange and weird as it seems.
It turns out alsa users are in the main are using small speakers usually amplified only by the soundcard and we have microphones in the vicinity. So we don't want huge volume and get annoyed when alsa mutes the sound again. I have found little cure but to be aware of it.
Last edited by business_kid; 04-14-2021 at 07:15 AM.
Since mplayer does it why not have a closer look at its configuration files? I don't have it any more as I switched to mpv long time ago, can't give more detailed help. Running alsactl is clearly missing the target, it sets the levels for reboot, it won't automatically correct levels every time user adjusts levels, because this is what you are doing with mplayer. As a matter if it did then you would go mad, every time you adjust sound levels it would reset them, clearly undesirable.
I'd also question your alsactl syntax. 'alsactl store' stores the current values, which is hardly what you want if the sound is muted.
Fix the sound, then run 'alsactl store' once. When mplayer mutes the sound, get into a terminal and run'alsactl restore' which overwrites current values with the saved ones. All alsactl commands need root, so use sudo as needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.