alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <clemens@ladisch.de>
To: "Soeren D. Schulze" <soeren.d.schulze@gmx.de>,
	alsa-devel@alsa-project.org
Subject: Re: Handling of the DXS controls in the via82xx driver
Date: Mon, 29 Mar 2010 14:56:11 +0200	[thread overview]
Message-ID: <1269867371.6760.1367253675@webmail.messagingengine.com> (raw)
In-Reply-To: <4BAE8EF7.20204@gmx.de>

Soeren D. Schulze wrote:
> before my latest upgrade to Linux 2.6.32 (yes, sorry, it's Debian), I
> had four levers in my alsamixer: VIA DXS, VIA DXS 1, VIA DXS 2 and VIA
> DXS 3.  They controlled the hardware mixing when accessing the sound
> device multiple times.
> 
> Now they have disappeared.
> 
> As I'm not an ALSA developer, I don't realize the intended effect of
> this change,

Hiding these controls is an intended effect, because normal mixers
do not show application-specific controls that could go away or be
reset at any time.

> but the actual effect is that I cannot change the DXS volumes any
> more.

You can with the hwmixvolume tool in the alsa-tools package (version
1.0.23, not yet released).

> mplayer still controls the global PCM volume.  Well,
> in fact, there is one way.  While an mplayer is running, I can do:
> 
> amixer cset numid=47,iface=PCM,name='PCM Playback Volume' 24,24
> 
> When restarting mplayer, the volume is reset to 31,31 (maximum).

The old behaviour was considered buggy: these stream controls are
logically associated with a stream opened by an application, not with
a particular hardware stream.

> The bad thing about it is that 31,31 is a really bad setting for my
> poorly engineered sound card.  It distorts a lot.

If the card cannot handle any loud output, then all outputs from any
source must be restricted, so the logical place for lower volume would
be the "Master" or "PCM" controls.


Regards,
Clemens

  parent reply	other threads:[~2010-03-29 12:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-27 23:04 Handling of the DXS controls in the via82xx driver Soeren D. Schulze
2010-03-29  1:24 ` Raymond Yau
2010-03-29  1:39 ` Raymond Yau
2010-03-29 12:56 ` Clemens Ladisch [this message]
2010-03-29 13:21   ` Soeren D. Schulze
2010-03-31 23:00     ` Raymond Yau
2010-03-31  1:39   ` Raymond Yau

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=1269867371.6760.1367253675@webmail.messagingengine.com \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=soeren.d.schulze@gmx.de \
    /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;
as well as URLs for NNTP newsgroup(s).