Hi,
I’m having problems controlling the volume and I don’t use raspspotify. I usualy send sounds from python but I just cannot get the volume to adjust.
from subprocess import call
call(["amixer", "-D", "pulse", "sset", "Master", "0%"])
doesn’t work nor does
call(["pactl", "--", "set-sink-volume", "0", "5%"])
Any help is appreciated.
rpi ZeroW with buster.
TIA
cat /etc/asound.conf
options snd_rpi_googlevoicehat_soundcard index=0
pcm.softvol {
type softvol
slave.pcm dmix
control{
name Master
card 0
}
}
pcm.micboost{
type softvol
slave.pcm dsnoop
control {
name Micro
card 0
}
min_dB -10.0
max_dB 50.0
resolution 256}
pcm.!default {
type asym
playback.pcm "plug:softvol"
capture.pcm "plug:micboost"
}
ctl.!default {
type hw
card 0
}