All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ingo Müller" <alsa@ingomueller.net>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Ideas for the softvol plugin
Date: Thu, 11 Jan 2007 23:45:41 +0100	[thread overview]
Message-ID: <45A6BE15.4010101@ingomueller.net> (raw)
In-Reply-To: <20070111150555.GA17015@nevyn.them.org>

Daniel Jacobowitz schrieb:
> On Thu, Jan 11, 2007 at 03:54:55PM +0100, Ingo Müller wrote:
>> 1) A mute/unmute function. I think this is the most easy job.
> 
> I've got code for this lying around somewhere, though I'm not sure
> where.  But...

Sounds great! That'd be awesome if this would find its way into the
official alsa code!

> Take a look at the "ganged volume" patch I posted to this list, at the
> beginning of the month.  In general, when the kernel master volume
> only controls the front channels, that's because it's how the card's
> control registers work; ganged volume lets you add a kernel control
> that moves things up and down in sync.  It's a bit better than using
> softvol, because you don't have to do any processing of the samples
> as they pass through.
> 
> It's to solve exactly what you're describing.

That sounds good, too! Unfortunately, I don't understand C code very
well, and nothing of kernel programming at all. I doubt whether I would
be able to apply the patch, even if I used the same module as you do
(which I don't).

On Sat, Oct 14, 2006 at 04:37:37PM -0400, Daniel Jacobowitz wrote:
> Here's an implementation of a ganged volume control. I suspect it
> could be improved with advice from a maintainer; I'm happy to revise
> it. It works in every way I've been able to test it. I suspect plenty
> of other devices could benefit from this; probably even some not AC97
> based, so maybe it ought to move elsewhere, but at least it's a start.

I do also think that this piece of code (as far as I understan it)
should be used more often or more centrally! On many sound cards, the
master volume doesn't seem to control the volume of all channels (which
it should definitely).

Greetings, Ingo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  reply	other threads:[~2007-01-11 22:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10  4:48 usbmidi reconnect -> kernel oops Dmitry Baikov
2007-01-10 22:06 ` Dmitry Baikov
2007-01-11 14:54   ` Ideas for the softvol plugin Ingo Müller
2007-01-11 15:05     ` Daniel Jacobowitz
2007-01-11 22:45       ` Ingo Müller [this message]
2007-01-11 23:03     ` Tom Horsley
2007-01-12 16:11       ` Ingo Müller
2007-01-12 18:18     ` Takashi Iwai
2007-01-12 18:31       ` Ingo Müller

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=45A6BE15.4010101@ingomueller.net \
    --to=alsa@ingomueller.net \
    --cc=alsa-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.