Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - lib 0000154]: Master volume only controls front output (emu10k1)
Date: Fri, 22 Oct 2004 16:44:07 +0200	[thread overview]
Message-ID: <49215b26849f16d4bbe3c385cbd258ef@bugtrack.alsa-project.org> (raw)


A new RELATIONSHIP has been added to the following issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=154> 
======================================================================
Reported By:                wzzrd
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   154
Category:                   mixer
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             03-23-2004 17:31 CET
Last Modified:              05-24-2004 22:51 CEST
======================================================================
Summary:                    Master volume only controls front output (emu10k1)
Description: 
Setting the alsamixer Master Volume slider only controls the front two
speakers. The rear speakers have to be controlled with the Wave Surround
setting. I'm not sure whether this is an alsamixer bug or a alsa-driver
bug. If I'm wrong putting it here, sorry.

It would be very convenient to be able to control all four speakers with
the Master Volume setting and to have a Front and Rear slider to control
the front and rear speakers individually.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000176 Master volume does not alters center, L...
related to          0000172 Master volume control only controls fro...
======================================================================

----------------------------------------------------------------------
 djtm - 03-26-04 20:21 
----------------------------------------------------------------------
Also applies to the intel8x0-driver.

----------------------------------------------------------------------
 delmonico - 05-24-04 22:51 
----------------------------------------------------------------------
I wrote this little, dirty workaround-script that works just fine for me.
Anyway I would love to see a really working Master-Slider in a new
alsa-version :)

File uploading didn't work so i'll just post it:
#!/bin/sh
#SB Live! global volume control by Christoph 'delmonico' Neuroth
#License: GNU General Public License
#PCM will not go over 75% because higher values sound crappy.

PCM=`amixer get PCM | grep "Front Left: Playback" | awk '{print $5 }' | tr
 -d '\[' | tr -d '%\]'`

case "$1" in
up)
        amixer -q set 'Master' 5%+
        if test $PCM -lt 75
                then amixer -q set 'PCM' 5%+
        fi
        amixer -q set 'Wave Center' 5%+
        amixer -q set 'Wave LFE' 5%+
        amixer -q set 'Wave Surround' 5%+
        amixer -q set 'EMU10K1 PCM' 5%+
;;

down)
        amixer -q set 'Master' 5%-
        amixer -q set 'PCM' 5%-
        amixer -q set 'Wave Center' 5%-
        amixer -q set 'Wave LFE' 5%-
        amixer -q set 'Wave Surround' 5%-
        amixer -q set 'EMU10K1 PCM' 5%-
;;

mute)
        amixer -q set 'Master' 0
        amixer -q set 'PCM' 0
        amixer -q set 'Wave Center' 0
        amixer -q set 'Wave LFE' 0
        amixer -q set 'Wave Surround' 0
        amixer -q set 'EMU10K1 PCM' 0
;;


*)
        amixer -q set 'Master' $1%
        if test $1 -lt 75
                then amixer -q set 'PCM' $1%
                else amixer -q set 'PCM' 75%
        fi
        amixer -q set 'Wave Center' $1%
        amixer -q set 'Wave LFE' $1%
        amixer -q set 'Wave Surround' $1%
        amixer -q set 'EMU10K1 PCM' $1%
;;
esac

Issue History
Date Modified  Username       Field                    Change              
======================================================================
03-23-04 17:31 wzzrd          New Issue                                    
03-23-04 18:42 perex          View Status              @0@ => public       
03-23-04 18:42 perex          Description Updated                          
03-23-04 18:42 perex          Additional Information Updated                    
03-23-04 18:43 perex          Status                   new => assigned     
03-23-04 18:43 perex          Assigned To               => perex           
03-26-04 20:21 djtm           Note Added: 0000708                          
04-19-04 02:47 tarball        Issue Monitored: tarball                     
04-19-04 21:23 perex          Relationship added       has duplicate 0000176
05-24-04 22:51 delmonico      Note Added: 0001199                          
10-22-04 16:44 perex          Relationship added       related to 0000172  
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

             reply	other threads:[~2004-10-22 14:44 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 14:44 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-22 23:09 [ALSA - lib 0000154]: Master volume only controls front output (emu10k1) bugtrack
2005-01-04 20:01 bugtrack
2005-01-04 20:11 bugtrack
2005-01-04 20:29 bugtrack
2005-01-04 20:38 bugtrack
2005-01-04 21:30 bugtrack
2005-01-04 21:38 bugtrack
2005-01-27  0:00 bugtrack
2005-02-01 21:57 bugtrack
2005-02-03 19:20 bugtrack
2005-02-17 21:01 bugtrack
2005-02-17 21:59 bugtrack
2005-02-17 22:28 bugtrack
2005-02-22  8:56 bugtrack
2005-05-20 20:02 bugtrack
2005-05-20 20:05 bugtrack
     [not found] <da3ba5a8e39a99b562591bfbaba64ac7@bugtrack.alsa-project.org>
2005-05-21  0:26 ` Adam K Kirchhoff
2005-05-27 14:02   ` Adam K Kirchhoff
2005-07-13 16:56 bugtrack
2005-07-16 15:11 bugtrack
2006-03-09 10:34 bugtrack
2006-03-12 20:27 bugtrack
2006-03-12 20:35 bugtrack
2006-03-13 12:28 bugtrack
2006-03-13 12:51 bugtrack
2006-03-13 13:36 bugtrack
2006-03-13 17:09 bugtrack
2006-03-13 23:04 bugtrack
2006-03-16 14:41 bugtrack
2006-03-16 18:22 bugtrack
2006-03-17  1:30 bugtrack
2006-03-17 13:16 bugtrack
2006-04-14  1:48 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49215b26849f16d4bbe3c385cbd258ef@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox