Lee Revell wrote:
> On Wed, 2006-08-30 at 18:15 +0200, Oliver Eichler wrote:
>> However if I use "surround 5.1" raw digital data is sent to the
>> device.  I wonder if alsa is able to apply a digital volume control to
>> this stream. If it is possible, would some kind soul tell me how? 
> 
> This isn't really ALSA's job.  Can't you enable software volume control
> in your application?
> 
> Lee

In which one? MPlayer, Xine and so on? Come on, this is like having 5
remote controls and 5 different volume levels. Never knowing which one
to use. As every bit of sound has to go thru alsa this is the perfect
place to control sound volume.

Never the less alsa seems to have plugins for this. I found attached
stuff for .asoundrc and changed it a bit. However this does not really
change anything. I would have expected an additional slider in
alsamixed. But nothing happens. Anyone familiar with this cryptic stuff?



Oliver


my .asoundrc:

pcm.softvol {
    type softvol
    slave {
        type plug
        pcm "hw:0"
    }
    control {
        name "SoftMaster"
    }
}

pcm.!surround51 {
  type plug
  slave.pcm "softvol"
  slave.channels 6
  route_policy duplicate
}

pcm.!spdif {
  type plug
  slave.pcm "softvol"
  slave.channels 6
  route_policy duplicate
}

pcm.!default {
  type plug
  slave.pcm "softvol"
  slave.channels 6
  route_policy duplicate
}



-------------------------------------------------------------------------
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-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to