[KLUG Members] ESD mixer controll
Adam Williams6
members@kalamazoolinux.org
Sat, 2 Mar 2002 12:10:11 -0500 (EST)
I use esd to funnell audio to LTSP diskless workstations. This works
pretty well, The initscript run via NFS creates the device files on the
workstations RAM disk and fires up an esd process listening on a TCP port.
In the past I have also fired up an xmixer process via the local init
process. This way there is always a mixer running and if it gets killed
off and new one starts. It works, but is less than elegant.
So when I upgraded from LTSP 2 to LTSP 3 someone told me that EDS actually
supports remote mixer support if one sets ESDDSP_MIXER=1.
So I nuke my local mixer hack.
I set export ESDDSP_MIXER=1 before esd starts on the client.
I set ESDDSP_MIXER=1 in the GNOME session startup script and I can see it
in my environment when I log in as well as ESPEAKER and the LD_PRELOAD of
libesddsp and libesd
Audio works (as it did before).
I can now start a mixer, before it would fail with a "no such device"
message. Obviously.
But I can't actually adjust the levels.
In gmix I can drag the levels up and down without affecting the audio. In
xmixer any attempt to adjust a channel simply sets the channel level to
zero without effecting the actual audio.
Anyone out there have this working with ESD? It seems so close, but as
yet Casto hasn't sent any cigars.
--
-----------------------------------------------------------
Ximian GNOME, Evolution, LTSP, and RedHat Linux + LVM & XFS
-----------------------------------------------------------