From: Dino <dino@e4a.it>
To: Alsa-devel@lists.sourceforge.net
Subject: RE: Volume per voices [Feature Request]
Date: Wed, 27 Jul 2005 10:34:06 +0200 [thread overview]
Message-ID: <1122453246.42e746feeaa5a@mail.e4a.it> (raw)
In-Reply-To: <XFMail.20050727094742.pochini@shiny.it>
Scrive Giuliano Pochini <pochini@shiny.it>:
>
> On 26-Jul-2005 Dino Puller wrote:
> > Hi all,
> > i don't know if this is the right place to ask for a new feature,
> > BTW here it is:
> > It's should be very useful to have a standard way/function to map volume
> > per PCM stream. For now seems that only emu10k1 and via82xxx has a
> > volume control for each PCM streams, probably because a lack on the
> > others drivers. Where the HW/driver doesn't support this control, it's
> > should be emulated via software.
>
> Most cards have hw volume, but ALSA cannot answer this simple question:
> given this PCM handle, what numid:index control controls the gain of its
> Nth channel ?
This is exactly what i'd like. I'd like to skip this access to a control gain,
and instead create a standard map to the relative pcm stream.
> That question is not as simple as it may seem at first glance. The ctl
> may not exist at all if the cards do not support it or if the PCM is
> not an hardware PCM (eg. is uses dmix). Even if the card has a simple
> 1:1 relation between a PCM device and an hw control, some plugins (route,
> multi or any combination of any plugins) may have shuffled things...
Hmm i know nothing about route and others plugins, but we can use this volume
control only if it's direct and use an emulation otherwise, it's a simple
access to a lookup table and two multipications. This emulation should be done
even if our hardware doesn't support this gain. At this purpouse i'm looking at
the code of cs46xx driver witch play with my soundcard, and i'm trying to add
this controls and its seems to work (a bit buggy but i've just started) btw
it's really simple to do.
Anyway it's strange that alsa doesn't support this feature, because the old GUS
classic supports volume per pcm, volume ramp, and looping! And alsa was born
from it's drivers.
regards,
Dino
>
>
> --
> Giuliano.
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
next prev parent reply other threads:[~2005-07-27 8:34 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 14:46 maximum voices/channels Cesar Hernandez
2005-07-25 13:02 ` Volume per voices Dino
2005-07-25 14:22 ` Clemens Ladisch
2005-07-25 14:49 ` Dino Puller
2005-07-25 15:02 ` Clemens Ladisch
2005-07-26 9:49 ` Volume per voices [Feature Request] Dino Puller
2005-07-27 7:47 ` Giuliano Pochini
2005-07-27 8:17 ` Clemens Ladisch
2005-07-27 8:23 ` Jaroslav Kysela
2005-07-27 8:30 ` Takashi Iwai
2005-07-27 9:00 ` Takashi Iwai
2005-07-27 15:21 ` Clemens Ladisch
2005-07-27 15:40 ` Takashi Iwai
2005-07-28 7:25 ` Clemens Ladisch
2005-08-01 15:04 ` Takashi Iwai
2005-08-01 15:29 ` Clemens Ladisch
2005-08-01 16:10 ` Takashi Iwai
2005-08-02 14:13 ` Clemens Ladisch
2005-08-02 15:51 ` Takashi Iwai
2005-08-02 16:00 ` Lee Revell
2005-08-02 16:48 ` Takashi Iwai
2005-07-27 16:16 ` Giuliano Pochini
2005-07-28 7:42 ` Clemens Ladisch
2005-07-28 8:32 ` Jaroslav Kysela
2005-07-28 8:39 ` Takashi Iwai
2005-07-28 8:48 ` Clemens Ladisch
2005-07-28 8:56 ` Jaroslav Kysela
2005-07-28 8:39 ` Dino
2005-07-29 12:05 ` Raymond
2005-07-28 17:51 ` Giuliano Pochini
2005-07-29 11:23 ` Takashi Iwai
2005-08-13 3:59 ` Raymond
2005-07-28 7:31 ` Raymond
2005-07-28 7:57 ` Clemens Ladisch
2005-07-28 10:59 ` [Openvortex-dev] " Maarten Vanraes
[not found] ` <21ed1c37050728045725f76ac@mail.gmail.com>
2005-07-28 14:29 ` Alien
2005-08-12 14:57 ` Raymond
2005-08-13 11:58 ` Jaroslav Kysela
2005-07-28 8:34 ` Jaroslav Kysela
2005-07-31 16:37 ` Raymond
2005-08-01 9:22 ` Takashi Iwai
2005-08-05 10:23 ` Raymond
2005-08-05 10:51 ` Takashi Iwai
2005-08-29 2:28 ` Raymond
2005-08-29 21:04 ` Manuel Jander
2005-07-28 8:09 ` Jaroslav Kysela
2005-07-27 8:34 ` Dino [this message]
2005-07-27 8:34 ` Dino
2005-07-27 8:32 ` Volume per voices Takashi Iwai
2005-07-25 13:07 ` maximum voices/channels Clemens Ladisch
2005-07-25 13:08 ` Jaroslav Kysela
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=1122453246.42e746feeaa5a@mail.e4a.it \
--to=dino@e4a.it \
--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.