On Wed, 25 Jun 2003 at 12:47pm (-0700), Todd A. Jacobs wrote: > I'm interested in a way to redirect sound to another server. I know esd > and arts have the capability to bind to sockets, but is there actually a > way to export sound that isn't application-specific? > > For example, I can run xine with the video exported to my local server, > but the sound still plays on the remote server. I'd like to be able to > treat both video *and* sound as a client. How can I do that? >
Well.. for your specific example... xine understands esd so... $ export ESPEAKER=the.remote.host.running.esd $ xine somemovie.mpg .... should work for you. Well assuming esd has been called with '-tcp -public' so that it's listening for remote connections. Acutally if DISPLAY already points at the remote host you prolly don't even need to set ESPEAKER. If you're piping your X11 display over ssh though then DISPLAY will point to something like the.local.host.with.xine:11 and that won't work automatically. For applications that don't speak esd themselves you can try using esddsp which fools them into talking to esd when they think they're opening dsp.... $ esddsp -v --server=the.remote.host.running.esd xine somemovie.mpg ... if xine wasn't configured to use the esd audio driver for instance. Or we could get recursive and use esddsp to start a local instance of esd and then let all subsequent apps talk to it. $ esddsp -v --server=the.remote.host esd -tcp server: the.remote.host name: esd command line: esd -tcp [1]+ Stopped esddsp -v --server=the.remote.host esd -tcp $ bg [1]+ esddsp -v --server=the.remote.host esd -tcp & $ esdplay /usr/lib/xemacs/xemacs-packages/etc/sounds/flush.au $ .. I think esd is neat. :) Unlike X11 there is no commonly accepted 'native' way of doing remote audio like we do remote displays - hence the existance of things such as nas, esd, and arts. M. P.S. Hmmm... I bet a bit of judicious tcp port forwarding over ssh and it could all 'just work'... might try that myself. ;) -- WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company Level 5, 100 Wickham St. Network Operations - Systems Engineer PO Box 930, Fortitude Valley. phone: +61 7 3249 2552 Queensland, Australia 4006. pgp key id: 0x900E515F -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list