[Alsa-user] Re: SB Live! PCM control
Brought to you by:
perex
From: Mikael M. <mik...@gl...> - 2005-01-30 12:37:08
|
Dennis Gnad wrote: > Everyone with such a card has this problem (afaik).... Some time ago a person > on this list said he would do something for it... (I don't exactly know if it > was an alsa developer)... I wait since half a year for a fix =( > > it's even worse for me ! I got an analog 5.1 system attached to my soundcard, > and so have no mastervolume AT ALL > > good luck to you (and myself *g*) that we get a fix as soon as possible... > I'm using ld10k1 to accomplish that. I have written the init_live script distributed with ld10k1, but unfortunately there is a problem with the current release. I have attached an updated version that should work. You have to change the path to lo10k1, if it isn't installed in /usr/bin. The master volume is called "Master Digital". It also have separate pcm and front channel inputs, which are needed for the pro-logic decoder. The front input uses FX 8 and 9, that are unused on SB Live! 5.1, and "PCM Front" controls the volume. You will need a customized .asoundrc to use surround output with init_live: # Output to FX pcm.fx { @args [ FX0 FX1 ] @args.FX0 { type integer default 0 } @args.FX1 { type integer default 1 } type hooks slave.pcm { type hw card 0 device 0 } hooks.0 { type ctl_elems hook_args [ { name "EMU10K1 PCM Send Volume" index { @func private_pcm_subdevice } lock true value [ 255 255 0 0 255 0 0 0 0 255 0 0 ] } { name "EMU10K1 PCM Send Routing" index { @func private_pcm_subdevice } lock true value [ $FX0 $FX1 15 15 $FX0 $FX1 15 15 $FX0 $FX1 15 15 ] } ] } } # Reroute front to FX8,9 pcm.!front { type plug slave.pcm "fx:8,9" } Regards, Mikael Magnusson |