From: Raymond <rayau@netvigator.com>
To: alsa-devel@lists.sourceforge.net
Cc: Manuel Jander <manuel.jander@gmail.com>
Subject: Re: Volume per voices [Feature Request]
Date: Fri, 12 Aug 2005 22:57:40 +0800 [thread overview]
Message-ID: <42FCB8E4.90702@netvigator.com> (raw)
In-Reply-To: <Pine.HPX.4.33n.0507280943050.9785-100000@studcom.urz.uni-halle.de>
Clemens Ladisch wrote:
> Raymond wrote:
>
>>In theory, and sound cards with hardware mixing can support this kind of
>>volume control.
>>
>>au88x0 driver may provide this kind of volume control on playing PCM
>>streams by using hardware mixers.
>>
>>However the hardware mixers are dynamically allocated in routine
>>snd_vortex_pcm_hw_params(), this means that the kcontrol can be put/get
>>only between snd_pcm_hw_params() (return no error) and
>>snd_pcm_hw_free()/snd_pcm_close().
>
>
> The driver could save the value and apply it when a stream is opened.
>
>
>>Is there any flag in kcontrol which enable/disable the put/get from
>>mixer application ?
>
>
> Controls can be locked.
>
>
What is the meaning of SNDRV_CTL_ELEM_ACCESS_INACTIVE ?
Is it just a flag which the driver should check whether the value can be
written to the hardware registers ?
It seem to me that snd_vortex_pcm_adb_vol_put() are called even when
kcontrol is inactive (e.g alsactl restore after the driver is loaded)
What value (0 or 1) will be return by snd_vortex_pcm_adb_vol_put() when
kcontrol is inactive/locked ?
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
next prev parent reply other threads:[~2005-08-12 14:57 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 [this message]
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
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=42FCB8E4.90702@netvigator.com \
--to=rayau@netvigator.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=manuel.jander@gmail.com \
/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