[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mplayer-docs
Subject:    [MPlayer-DOCS] Re: documenting environment variables
From:       Tobias Diedrich <ranma () tdiedrich ! de>
Date:       2005-11-30 16:04:48
Message-ID: 20051130160448.GF5355 () yamamaya ! is-a-geek ! org
[Download RAW message or body]

Diego Biurrun wrote:
> On Tue, Nov 29, 2005 at 09:10:38PM +0100, Tobias Diedrich wrote:
> > Diego Biurrun wrote:
> > > 
> > > .IP AUDIOSERVER
> > 
> > Specifies the Network Audio System server to which ao_nas should
> > connect.  If unset DISPLAY is used instead.
> > Examples:
> > AUDIOSERVER=somehost:0
> > Connect to NAS server on somehost using default port and transport.
> > AUDIOSERVER=tcp/somehost:8000
> > Connect to NAS server on somehost listening on tcp port 8000.
> 
> So what other options do we have?  udp as well?  This sounds a bit
> incomplete...

*reading the source*
Basically just tcp and unix domain sockets (I'll ignore decnet :-)).

tcp syntax should be:

tcp/somehost:someport
or
somehost:someport

unix domain socket syntax:

unix:instancenumber
or just
:instancenumber

Seems a bit inconsistent, I'd have expected unix/:0 or something
like that (which happens to be what X11 is using and NAS is kind of
based on the X protocol after all).

So:

Syntax:
Same as DISPLAY, but unix:0 instead of unix/:0

Examples:
AUDIOSERVER=(unix)?:0
Connect to NAS server instance 0 on localhost using unix domain sockets.
AUDIOSERVER=(tcp/)?somehost:8000
Connect to NAS server on somehost listening on tcp port 8000.

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de

_______________________________________________
MPlayer-DOCS mailing list
MPlayer-DOCS@mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-docs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic