WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] pulseaudio

To: "jim burns" <jim_burn@xxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] pulseaudio
From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
Date: Wed, 23 Apr 2008 11:38:16 -0400
Delivery-date: Wed, 23 Apr 2008 08:39:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: normal
In-reply-to: <200804222314.24043.jim_burn@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Priority: normal
References: <200804212220.24890.jim_burn@xxxxxxxxxxxxx><ff07fffe0804211942x34c46b12o9551a7755ed4635b@xxxxxxxxxxxxxx>(sfid-20080421_225029_614061_22BEB6FA) <200804222314.24043.jim_burn@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acik8DjxcjBY06/SQyOHCoNcAR9F1AAZQGvw
Thread-topic: [Xen-users] pulseaudio
jim burns wrote:
> 
> On Monday April 21 2008 10:42:21 pm Christian Lyra wrote:
> > oad-module module-esound-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
> > load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
> >
> > 4 - install winesd on hvm windows (just follow the instructions on the
> > page):
> >
> > http://www.clingman.org/winesd/
> 
> Ok - I take it back. Despite the syslog errors, I'm able to make a connection 
> to my dom0 sound server from my fedora rawhide pv domu.
> 
> Then I tried winesd. Too bad it doesn't seem there has been any development 
> since 2000. It works, but with a lot of skips and repeats in my winxp hvm. 
> Plus it seems like pulseaudio gets overwhelmed very easily, and exits. I'll 
> try experimenting with realtime or nice-ing.
> 
> To answer my previous question about the format of the PULSE_SERVER variable, 
> it's just like the format of the registry key the winesd page has you 
> setup - 'hostname:port#'. Port# is 16001 for winesd. On linux, 4713 worked 
> for me. I would imagine 16001 would work also (for esd).

Forget winesd, on the Xen PV have snd-dummy loaded. If you are using X-Windows
and XDMCP to connect to your remove hosts you can have them set the PULSESERVER
on login by querying out the hostname on the $DISPLAY string and setting a
global environment variable.

I use KDE and kdm which has a /etc/kde/env directory where it whatever script
you have there on login to set global environment variables. In this directory
I have:

/etc/kde/env/pulse.sh:
PULSE_SERVER="${DISPLAY%%:*}"
if [ -n "${PULSE_SERVER}" ]; then
        export PULSE_SERVER
fi

/etc/kde/env/esd.sh
ESPEAKER="${DISPLAY%%:*}"
if [ -n "${ESPEAKER}" ]; then
        export ESPEAKER
        export ESDDSP_MIXER=1
fi

Maybe gdm has similar environment setup?

Oh, if you are using a distro where alsa isn't auto redirected to pulse
you will need the pulse-libs, alsa-pulse plugin and an asound.conf like:

/etc/asound.conf:
pcm.pulse {
        type pulse
}

ctl.pulse {
        type pulse
}

pcm.!default {
        type pulse
}

ctl.!default {
        type pulse
}

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>