From: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: Re: [RFC] virtual master control (1/3)
Date: Fri, 23 Nov 2007 22:48:02 +0200 [thread overview]
Message-ID: <200711232248.02739.maximlevitsky@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0711231927030.8325@tm8103.perex-int.cz>
On Friday 23 November 2007 20:36:32 Jaroslav Kysela wrote:
> On Fri, 23 Nov 2007, Takashi Iwai wrote:
>
> > At Mon, 19 Nov 2007 12:13:28 +0100,
> > I wrote:
> > >
> > > > > > If not, then it is better to remove it/remame to VolumeKnob
> > > > >
> > > > > Agreed. I'd like to take a safer way if you don't insist...
> > > > Great, it is probably the best to have a virtual master volume.
> > > > Just one question, it will be probably enabled for devices that don't have a
> > > > master volume (or have it broken like the STAC), right?,
> > > > And when you expect it to be merged?
> > >
> > > Hopefully will be posted in this week after a small brush up.
> >
> > OK, here is a series of the patch I promised.
> >
> > The first one is the patch to add virtual master controls.
> >
> > ===
> >
> > [PATCH] Add virtual master control
> >
> > This patch adds the routines to create virtual master controls.
> > A virtual master control can have multiple slave controls that
> > are supposed to be identical type. The master volume will add the
> > master attenuation and the master switch will add the master mute
> > switch.
> >
> > ---
>
> I'm really not sure if I like to see such extensions in kernel. We have
> now user control elements and a small daemon written in C or python will
> do exactly same job and will be more flexible.
>
> Jaroslav
Hi,
Well, first big thanks for those patches.
Secondary I strongly disagree that the above can be implemented in userspace easily.
Sure you can have a program that adjusts the volume of all outputs, and creates a virtual
userspace control, but the change in volume of outputs will be visible to userspace.
For example moving the master volume will move the front/surround/LFE/.... sliders,
and it is no good.
What this patch does, it actually modifies the code for those 'slave' amps, so the master volume is
taken in account.
I will test it now on my system.
I hope this gets merged,
Best regards,
Maxim Levitsky
next prev parent reply other threads:[~2007-11-23 20:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-01 17:47 1.0.15: volume levels drift on HDA with STAC92XX codec Chuck Ebbert
2007-11-01 18:17 ` Maxim Levitsky
2007-11-05 11:40 ` Takashi Iwai
2007-11-05 14:53 ` Maxim Levitsky
2007-11-05 12:09 ` Takashi Iwai
2007-11-05 15:32 ` Maxim Levitsky
2007-11-05 12:45 ` Takashi Iwai
2007-11-05 16:39 ` 1.0.15: volume levels drift on HDA with STAC92XXcodec Tellman, Steven
2007-11-05 17:08 ` Maxim Levitsky
2007-11-05 17:33 ` Tellman, Steven
2007-11-05 18:58 ` Maxim Levitsky
2007-11-05 19:15 ` Tellman, Steven
2007-11-16 15:02 ` 1.0.15: volume levels drift on HDA with STAC92XX codec Takashi Iwai
2007-11-16 15:50 ` Maxim Levitsky
2007-11-16 18:48 ` Chuck Ebbert
2007-11-17 10:10 ` Takashi Iwai
2007-11-17 10:36 ` Maxim Levitsky
2007-11-19 11:13 ` Takashi Iwai
2007-11-23 17:26 ` [RFC] virtual master control (1/3) Takashi Iwai
2007-11-23 17:28 ` [RFC] virtual master control (2/3) Takashi Iwai
2007-11-23 17:33 ` [RFC] virtual master control (3/3) Takashi Iwai
2007-11-23 17:35 ` [RFC] virtual master control - alsa-driver stub Takashi Iwai
2007-11-23 18:36 ` [RFC] virtual master control (1/3) Jaroslav Kysela
2007-11-23 20:48 ` Maxim Levitsky [this message]
2007-11-24 10:12 ` Takashi Iwai
2007-11-26 18:51 ` John Utz
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=200711232248.02739.maximlevitsky@gmail.com \
--to=maximlevitsky@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.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 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.