christianTF/LoxBerry-Plugin-squeezelite

Standard-Volume erhöhen (alsamixer)

christianTF opened this issue · 3 comments

Ist per Default niedrig (~45%)

Processing:

root@loxberry-dev:/opt/loxberry/data/plugins/squeezelite# cat /proc/asound/cards
 0 [ALSA           ]: bcm2835_alsa - bcm2835 ALSA
                      bcm2835 ALSA

d.h. eine Karte mit der Nummer 0.

root@loxberry-dev:/opt/loxberry/data/plugins/squeezelite# amixer -c 0 scontrols
Simple mixer control 'PCM',0

zeigt die Simple Controls an, die es für diese Karte gibt.

root@loxberry-dev:/opt/loxberry/data/plugins/squeezelite# amixer -c 0 sset PCM 100%
Simple mixer control 'PCM',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback -10239 - 400
  Mono: Playback 400 [100%] [4.00dB] [on]

setzt Karte 0, Control 'PCM' auf 100%

Output von Wörsty mit USB-Karte dran:

root@loxberry:/opt/loxberry# cat /proc/asound/cards
 0 [ALSA           ]: bcm2835_alsa - bcm2835 ALSA
                      bcm2835 ALSA
 1 [Headset        ]: USB-Audio - G433 Gaming Headset
                      Logitech G433 Gaming Headset at usb-3f980000.usb-1.4, full speed
root@loxberry:/opt/loxberry# aplay -l
** List of PLAYBACK Hardware Devices **
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [G433 Gaming Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Implemented with a47c29d