Hi Duncan, I just solved this by changing the alsamixer2 code. It's not very generic, but it works for my setup.
Basically, what I did was changing the volume change function to iterate
through the controls list, and applying the volume.
Maybe in future releases it is possible to have some more configurations
in alsamixer, to satisfy such set-ups.
Also, an option to mute the channel by turning the volume 0 would be
nice, as the "PCM" control on my card doesn't have a mute switch.
I've also solved the problem with the idlebar volume plug-in, by
changing the plugin.getbyname argument to "ALSAMIXER2" instead of
"MIXER". Maybe the volume plug-in will be able to automatically detect
this in the future.
Thanks for all the help.
-
Benedikt
This message is digitally signed by a PGP
key, to verify it's authenticity.
If you received this message without key
the message may not be authentic.
www.relamp.tk
On Sun, 2008-03-09 at 18:42 +0100, Duncan Webb wrote:
> Benedikt Bär wrote:
> > Hi again Andreas,
> >
> > I installed Freevo 1.7.8.1, and I'm using now the alsamixer2 plug-in. So
> > far everything seems to work, except two things:
> >
> > 1) The idlebar.volume plug-in does not work with alsamixer2. Is there
> > any workaround?
> >
> > 2) I have a separate input for my TV card, which loops into the 'Line'
> > channel. I would like that alsamixer2 keeps PCM & Line at the same
> > levels. Is this possible? Here's my current config:
> >
> > ALSAMIXER2_MAIN_CTRL = 'PCM'
> > # ALSAMIXER2_MUTE_CTRL = 'Headphone'
> > ALSAMIXER2_CTRLS = [
> > # (ctrl, card, default vol, min vol, max vol)
> > ('PCM','hw:SB',90,0,100),
> > ('Line', 'hw:SB', 90, 0, 100),
> > ]
> >
> > When I remove the PCM line, alsamixer2 controls the Line volume, but not
> > the PCM anymore :(.
>
> I've given this a quick try on my box with a SB card.
>
> When watching what happens to the controls in alsamixer from a ssh
> session, they control the volume correctly. I'm using the default
> settings for alamixer2.
>
> On another box I've noticed that the alsamixer is missing one control
> that amixer shows but I don't think that this is your problem.
>
> Duncan
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
