You are not logged in.

#1 2011-05-02 18:55:49

sudokill
Member
Registered: 2011-04-27
Posts: 54

ALSA mixer keeps changing

Completely randomly without touching any settings, sometimes the volume goes right down on the left speaker so I check ALSA mixer and it has changed what can cause this? If I change setting in the mixer they do save across reboots this just seems random. Is there a config file or anything to do to make sure it stays locked? Thanks for any help

Offline

#2 2011-05-02 19:43:27

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: ALSA mixer keeps changing

I think I solved it, happens when I use gnome mplayer and change the volume within the app. I've unticked use software volume control in the mplayer options and haven't had the problem.

Edit- no that hasn't solved it

Last edited by sudokill (2011-05-02 19:46:53)

Offline

#3 2011-05-02 19:49:46

defears
Member
Registered: 2010-07-26
Posts: 218

Re: ALSA mixer keeps changing

Set the volume you want it saved at, then as root do

alsactl store

Offline

#4 2011-05-02 19:52:12

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: ALSA mixer keeps changing

I've tried that a few times.... sad

Offline

#5 2011-05-02 19:56:49

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: ALSA mixer keeps changing

Ok it's definately something to do with gnome mplayer. If I open a movie / song and change the volume, nomatter if I have the "software volume" box ticked or not, it puts the PCM on alsamixer down to some random low number on one side.

If I open sing/video with VLC (tried it few times) it doesn't affect ALSA settings.

I noticed there's 2 "mplayers" gnome mplayer and "mplayer" is it safe to uninstall these both? They seem important for some reason

Offline

#6 2011-05-02 20:18:17

JaVaEs
Member
Registered: 2011-04-27
Posts: 4

Re: ALSA mixer keeps changing

Had a similar issue with Pulseaudio. I edited the daemon.conf to disable flat-volumes and set the default sample-rate to 48kHz.

flat-volumes = no
.
.
.
default-sample-rate = 48000

After a Pulseaudio restart the alsamixer controls worked fine for me but i still get noise distortion when moving the Gnome 3 sound slider.

Offline

#7 2011-05-02 20:33:35

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: ALSA mixer keeps changing

I use pulseaudio as well but not using mplayer seems to have fixed it for me (I hope for good) I've just removed mplayer and gnome-mplayer and just use VLC. Bit of a shame because I prefer mplayer to VLC more minimal looking.

Edit- just to add to this, uninstalling mplayer also solved another problem I had not being able to mute the volume using the gnome main volume control. Should I post this somewhere it could be looked into, and is it worth the time and effort? I need mplayer for devede (which isn't installed because the sound comes out messed up, which by the sounds of things is to do with mplayer)

Last edited by sudokill (2011-05-03 00:53:15)

Offline

Board footer

Powered by FluxBB