Re: Getting and changing Volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 30 Aug 2006 17:39:31 +0200,
Luca bedogni wrote:
> 
> On Wed, 30 Aug 2006 17:01:13 +0200
> Takashi Iwai <tiwai@xxxxxxx> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux