Nick Ing-Simmons <nik@tiuk.ti.com> writes:
>Jon Trulson <jon@radscan.com> writes:
>>	None at all... I've attached a patch that should do this
>>properly.  It will look for AUDIOSERVER then DISPLAY.  If neither of these
>>are set, then :0 is assumed.  Of course specifying the port on the command
>>line takes precedence as usual.
>>
>>	Let me know if it actually works ;-)
>The patch had DOS line ends so had to 
>
>perl -pe 's/\r//' 
>
>before patch would take it.
>
>Re-building now.

Does not work now for two reasons:

1. The options passed by nas-1.4.2/lib/audio/ConnSvr.c are illegal
   for current nasd:

janus 92% nasd -timeout 600
Usage: nasd [:<listen port offset>] [option]
 -aa		allow any host to connect
 -pn		partial networking enabled
 -nopn		partial networking disabled [default]
 -v                 enable verbose messages
 -d <num>           enable debug messages at level <num>

No Server specific options supported.

2. Given a DISPLAY of ":8.0" then ConnSvr.c is trying to open 
   '/tmp/.sockets/audio8'
   but your patch causes nasd to create /tmp/.sockets/audio8.0

But as you agree in principle I will try for a patch of my own ...

-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


