1) it cannot mix several streams simultaneously
2) it cannot set volume (via snd-usb-audio)
It works out of the box and I was able to add a volume control using the Alsa softvol plugin:
.asoundrc:
Code: Select all
pcm.!default {
type plug
slave.pcm "softvol" #make use of softvol
}
pcm.softvol {
type softvol
slave {
pcm "dmix" #redirect the output to dmix (instead of "hw:0,0")
}
control {
name "Master" #override the PCM slider to set the softvol volume level globally
card 0
}
}
Code: Select all
pcm_slave.slave_format_s24le {
pcm "plug:front"
format "S24_3LE"
}
pcm.front24 {
@args [ CARD DEV ]
@args.CARD {
type string
}
type plug
slave slave_format_s24le
hint {
show {
@func refer
name defaults.namehint.basic
}
description "Front speakers, converted to S24_3LE"
device 0
}
}
pcm.!default front24
Code: Select all
pcm.!default {
type plug
slave.pcm hw
}


