#sudo aplay -l
#sudo amixer scontrols
#sudo alsamixer
#sudo rm /var/lib/alsa/asound.state
#sudo rm -rf ~/.config/pipewire ~/.config/wireplumber ~/.local/state/wireplumber
#sudo alsactl init
#sudo alsactl store










#player.class mixer = PCM
#player.class device = .*,0.*USB.*
#player.class volmin = 50
#player.class volmax = 100
#player.class voldef = 10
#player.class headend = 1
#player.class autoplay = 1


pcm.!default {
    type plug
    slave.pcm "myvol"
}

ctl.!default {
    type hw
    card 1
}

pcm.myvol {
    type softvol
    slave.pcm "plughw:1"
    control.name "sftvol"
    control.card 1
}







#player.class mixer = Master

pcm.!default {
    type hw
    card 0
}

ctl.!default {
    type hw
    card 0
}





#player.class mixer = PCM
#player.class volmin = 50
#player.class volmax = 100
#player.class voldef = 10
#player.class autoplay = 3


pcm.!default {
    type plug
    slave.pcm "myvol"
}

ctl.!default {
    type hw
    card 1
}

pcm.myvol {
    type softvol
    slave.pcm "plughw:1"
    control.name "sftvol"
    control.card 1
}






player.class mixer = sftvol
#player.class volmin = 50
#player.class volmax = 100
#player.class voldef = 10
#player.class autoplay = 3


pcm.!default {
    type plug
    slave.pcm "myvol"
}

ctl.!default {
    type hw
    card 1
}

pcm.myvol {
    type softvol
    slave.pcm "plughw:1"
    control.name "sftvol"
    control.card 1
}






pcm.!default {
    type plug
    slave.pcm "myvol"
}

ctl.!default {
    type hw
    card HD
}

pcm.myvol {
    type softvol
    slave.pcm "plughw:CARD=HD,DEV=0"
    control.name "sftvol"
    control.card HD
}
