soundcheck wrote: 
> Hi folks.
> 
> Is there an explanation how the -V option that's been introduced with SL
> 1.8 works?
> 
> From what I understand it gives direct access to alsamixer controls.
> 
> Is it correct that if I configure 
> 
> e.g. "-V <Speaker>" 
> 
> where "Speaker"  is the control label as shown in alsamixer.
> 
> Is it correct that the SW volume control gets replaces by the  HW
> control of e.g. the Dragonfly??
> 
> Thx

Yes, that is what does.  My DAC does not expose any hardware volume
control to ASLA, but the on-board audio on my PC does.  


Code:
--------------------
    
  aplay -l
  **** List of PLAYBACK Hardware Devices ****
  card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  
--------------------



Code:
--------------------
    
  amixer -c 0 scontrols
  Simple mixer control 'Master',0
  Simple mixer control 'Headphone',0
  Simple mixer control 'PCM',0
  Simple mixer control 'Front',0
  Simple mixer control 'Front Mic',0
  Simple mixer control 'Front Mic Boost',0
  Simple mixer control 'Surround',0
  Simple mixer control 'Center',0
  Simple mixer control 'LFE',0
  Simple mixer control 'Line',0
  Simple mixer control 'Line Boost',0
  Simple mixer control 'CD',0
  Simple mixer control 'IEC958',0
  Simple mixer control 'IEC958 Default PCM',0
  Simple mixer control 'IEC958',16
  Simple mixer control 'Beep',0
  Simple mixer control 'Capture',0
  Simple mixer control 'Capture',1
  Simple mixer control 'Channel Mode',0
  Simple mixer control 'Digital',0
  Simple mixer control 'Input Source',0
  Simple mixer control 'Input Source',1
  Simple mixer control 'Rear Mic',0
  Simple mixer control 'Rear Mic Boost',0
  
--------------------


For example, to use the "PCM" control for volume adjustment with
squeezelite of the on-board audio:


Code:
--------------------
    
  ./squeezelite -s 192.168.0.20 -n testplayer -o default -V PCM
  
--------------------


Then volume adjustment via the standard LMS web interface, or jivelite
would change the level the PCM control as seen in alsamixer.

'[image: http://s18.postimg.org/xr006gmn9/volcontrol.jpg]'
(http://postimg.org/image/xr006gmn9/)

[click to enlarge]


Code:
--------------------
    
  amixer -c 0 get PCM
  Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 138 [54%] [-23.40dB]
  Front Right: Playback 138 [54%] [-23.40dB]
  
--------------------


Using this method, the volume adjustment is not particularly refined,
but it is better in jivelite than from LMS.  Nor does say a halfway
setting equate to halving the (perceived) max volume level.

I don't use Andriod or IOS apps to control LMS at the moment, so can't
say what happens to volume control in those cases.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to