Sorry I forgot this one

so it just contains the following two lines:
======8<===============8<===============8<===============8<=========
load-module module-oss device=UTAUDIODEV playback=1 record=1 fragment_size=8192
load-module module-native-protocol-unix

======8<===============8<===============8<===============8<=========

Gilles

On 09/03/2010 11:00, Hana Skoumalova wrote:
SIMOND Gilles wrote:
Hello

I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a
symbolic link to it in /etc/X11/xinit/xinitrc.d/


Gilles Simond

======8<===============8<===============8<===============8<=========
#!/bin/bash

if [ ! "x${UTAUDIODEV}" == "x" ] ; then

if [ ! -d ${HOME}/.pulse ] ; then
mkdir ${HOME}/.pulse
fi

# create pulseaudio configuration for utaudio
PULSECONF=${HOME}/.pulse/default.pa
sed "s|UTAUDIODEV|$UTAUDIODEV|g" /opt/SUNWut/lib/utpulse.pa >
${PULSECONF}

# create asoundrc for pulseaudio redirection
ASOUNDRC=${HOME}/.asoundrc
echo -n > ${ASOUNDRC}
echo "pcm.!default { " >> ${ASOUNDRC}
echo " type pulse" >> ${ASOUNDRC}
echo "}" >> ${ASOUNDRC}
echo "ctl.!default { " >> ${ASOUNDRC}
echo " type pulse" >> ${ASOUNDRC}
echo "}" >> ${ASOUNDRC}

fi
======8<===============8<===============8<===============8<=========

Thank you for the hint, but I discovered that there is no
/opt/SUNWut/lib/utpulse.pa on my system. What package is supposed to
contain it?

Hana

_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

<<attachment: Gilles_Simond.vcf>>

_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to