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

Reply via email to