slartibartfast wrote: 
> I'll try escaping the quotes later. I'm not even sure how I expect this
> to work if I finally do get it working. The E30 has a display indicating
> attenuation when in preamp mode, will that change with the volume?

I'd hope that ALSA driver really drives the h/w control.

You could try using amixer and the "set" command,and see if display
changes.
I did a bit of testing with a cheap USB audio adapter with just
headphone & mic.
Using "aplay -l" - the C-Media device showed up as card 2 with name
"Set" so amixer option to select card 2 is "-c 2" or "-c Set"


Code:
--------------------
    minitower:$ amixer -c 2 scontrols
  Simple mixer control 'Headphone',0
  Simple mixer control 'Mic',0
  Simple mixer control 'Auto Gain Control',0
  
  minitower:$ amixer -c 2 scontents
  Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 80 [53%] [-13.38dB] [on]
  Front Right: Playback 80 [53%] [-13.38dB] [on]
  Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch 
pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 32 Capture 0 - 16
  Mono: Playback 23 [72%] [34.36dB] [off] Capture 0 [0%] [0.00dB] [on]
  Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
  
  minitower:$ amixer -c Set set Headphone 90
  Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 90 [60%] [-11.50dB] [on]
  Front Right: Playback 90 [60%] [-11.50dB] [on]
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=117242

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to