Hi Jari,
Can you apply the attached patch to alsamixer2.py and let us now if it
fixes your problem?
Thanks
...juerg
On Dec 15, 2007 6:39 AM, Michael Beal <[EMAIL PROTECTED]> wrote:
> Send output from 'amixer' with no options.
>
> --- "Hamalainen, Jari" <[EMAIL PROTECTED]> wrote:
>
> > Hi!
> >
> > I have a Audigy 2496 sound card and it has two mono channels that I
> > should set the volume to.
> >
> > amixer scontrol look like this:
> > Simple mixer control 'IEC958',0
> [snip]...
> > Simple mixer control 'Multi Track Volume Rate',0
>
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
Index: plugins/alsamixer2.py
===================================================================
--- plugins.orig/alsamixer2.py 2007-12-16 21:38:10.000000000 -0800
+++ plugins/alsamixer2.py 2007-12-16 21:45:50.000000000 -0800
@@ -146,0 +146,0 @@
# Set the default volume
if attr[__DEFAULT_VOLUME__] >= 0:
- ctrl.setvolume(attr[__DEFAULT_VOLUME__])
+ ctrl.setvolume(attr[__DEFAULT_VOLUME__], alsaaudio.MIXER_CHANNEL_ALL)
# Set the main mixer control
if self.main_ctrl is None or \
@@ -217,4 +217,4 @@
val = self.main_ctrl_min
if val > self.main_ctrl_max:
val = self.main_ctrl_max
- self.main_ctrl.setvolume(val)
+ self.main_ctrl.setvolume(val, alsaaudio.MIXER_CHANNEL_ALL)
def incVolume(self, step=5):
""" Increase the volume level by the step (default 5) """
@@ -235,0 +235,0 @@
def setMute(self, val=0):
""" Set the muting of a control (default 0) """
- self.mute_ctrl.setmute(val)
+ self.mute_ctrl.setmute(val, alsaaudio.MIXER_CHANNEL_ALL)
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel