softvol pcm plugin
What is the development status of softvol? My hardware lacks volume control, but softvol is unusable at the moment. I've tried the latest tarballs and current CVS.
Theres a bug somewhere which causes the volume control to expand to 255 channels sometime between initialisation and the first use of the device:
# cat ~/.asoundrc
pcm.!default {
type plug
slave.pcm "name"
}pcm.name {
type softvol
slave {
pcm "hw:0,0"
}
control {
name "NAME"
}
}# amixer controls|grep NAME numid=41,iface=MIXER,name='NAME'
# amixer cget numid=41 numid=41,iface=MIXER,name='NAME' ; type=INTEGER,access=rw---,values=255,min=0,max=0,step=0 amixer: control.c:2313: snd_ctl_elem_value_get_integer: Assertion `idx < sizeof(obj->value.integer.value) / sizeof(obj->value.integer.value[0])' failed. : values=255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Aborted
Attempting to change the volume wipes the control:
# amixer cset numid=41,index=1 30 numid=41,iface=MIXER,name='NAME' ; type=INTEGER,access=rw---,values=0,min=0,max=0,step=0 : values= alan@singularity:~> amixer cget numid=41 numid=41,iface=MIXER,name='NAME' ; type=INTEGER,access=rw---,values=0,min=0,max=0,step=0 : values=
It also plays sound with a constant jitter, and with mplayer I get a stream of warnings: "alsa-space: xrun of at least 10.328 msecs. resetting stream". I could say more, but theres no point until the volume control is usable.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Quoted 3 lines · Alan Jenkins
What is the development status of softvol? My hardware lacks volume control, but softvol is unusable at the moment. I've tried the latest tarballs and current CVS.
Please excuse my ignorance; the issue with the volume control appears to be a kernel problem.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf