LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-12-2021, 04:09 AM   #1
marcinblondyn
LQ Newbie
 
Registered: Mar 2020
Location: Poland
Distribution: Slackware/Windows/Kali
Posts: 17

Rep: Reputation: Disabled
Mplayer mutes settings and volume levels in alsamixer


Hello,
whenever I run
Code:
mplayer cdda://
sound goes mute in alsamixer on Master M channel. Why?!
I used
Code:
alsactl store
but still when I run mplayer in different TTY (I'm not using any X) then I always have to unmute master channel in alsamixer.

Please advice!
 
Old 04-14-2021, 07:10 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,527

Rep: Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382
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.
 
Old 04-14-2021, 07:14 AM   #3
marcinblondyn
LQ Newbie
 
Registered: Mar 2020
Location: Poland
Distribution: Slackware/Windows/Kali
Posts: 17

Original Poster
Rep: Reputation: Disabled
It's wierd. I'd like to set the output level ~40% and save it somehow, yet mplayer keeps muting all
 
Old 04-14-2021, 09:56 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,673

Rep: Reputation: Disabled
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.
 
Old 04-15-2021, 06:05 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,527

Rep: Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382
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.
 
  


Reply

Tags
alsamixer, mplayer, mute, tty



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] When muting, Alsamixer mutes Master,Headphone,Speaker,PCM; but unmutes only Master. mimorek Linux - Software 6 01-30-2017 03:14 AM
Volume Levels Set With alsamixer Don't Persist On Reboot mwstroberg Bodhi 6 09-28-2014 08:57 AM
Volume Control: Intel 82801DB-ICH4 (Alsa mixer) won't save volume levels. cayspekko Linux - Newbie 2 01-31-2008 12:17 AM
Why won't my FC3 rc0 and rc6 levels not call kill script when entering those levels? dvkwiatk Linux - General 2 11-11-2006 08:09 AM
kmix mutes but won't change volume LloydM Linux - Software 1 07-24-2006 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration