From: Takashi Iwai Subject: Re: Getting and changing Volume Date: Wed, 30 Aug 2006 18:05:01 +0200 Message-ID: References: <20060830125327.60b24635@localhost.localdomain> <20060830173931.1f00c353@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060830173931.1f00c353@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Luca bedogni Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 30 Aug 2006 17:39:31 +0200, Luca bedogni wrote: > > On Wed, 30 Aug 2006 17:01:13 +0200 > Takashi Iwai wrote: > > > Currently, there is no explicit API which mixer element corresponds to > > a certain PCM stream. So, most apps use simply the mixer interface > > and access either "PCM" or "Master" mixer element for controlling the > > total volume. > > > > In theory, it's possible to build a softvol entry for each PCM > > substream so that the volume can be controlled independently by each > > app even if the hardware multi-stream PCM volume control isn't > > possible. But, it's still in dream as long as unimplemented... > > So it's not possible to control the volume? I've seen amixer and gamix > codes for finding something helpful for me, but find nothing :( It's of course possible to change the volume, but it will influence on other streams, too. The mixer interface is independent from the PCM interface. You cannot change the volume from snd_pcm_t handle. Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642