[nas] nas on Mac OS X?

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sun Jan 23 08:33:31 MST 2011

Hi Ray,

On Sat, Jan 22, 2011 at 09:53:27AM -0500, Raymond Toy wrote:
> On 1/22/11 7:41 AM, Erik Auerswald wrote:
> > On Fri, Jan 21, 2011 at 08:53:36PM -0500, Raymond Toy wrote:
> >> Just wondering nas will run on OSX?
> > I don't know and have no Mac to test. :-(
> That can be remedied. :-)
> >> I saw the mailing list messages about nas not building on OSX.  I did
> >> get all the client stuff building on OSX, but I think I'm missing the
> >> server part.
> > Did you have to change anything to get clients building?
> Yes.  In config/NetAudio.tmpl, I added -lXau to the AUDIOLIBS line. 

Thanks. This looks like a bug in the X build environment on OS X. I don't
now yet how to cleanly add this to the template (i.e. which of the
variables usually contains -lXau), but I'll look into this.

> After that, all the clients linked.  They appear to run, but without a
> server on OSX, I can't test.  And I'm also having some problems getting

You can test against a server on a different host... ;-)

> ssh forwarding of the nas ports from my OSX box to my linux box so that
> I can run the client on OSX and the server on linux to listen to the audio.

For testing purposes there should be no need to tunnel NAS traffic through

You probably want to disable authentication for the server (nasd -aa) for
your tests.

> >> Does that exist?  If not, what would it take to make a server?  I do
> >> have portaudio working nicely on OSX, but I'd like a network-aware sound.
> > You would probably need a MacOS X specific server/dda/ part. Currently
> > there is support for HP-UX, IRIX, Solaris and OSS/Voxware (BSD, Linux,
> > ...).
> Is there a document that describes what's needed to write one?  I wasn't

Not that I know, but Jon would be the one to ask. I'd say you need to look
at the existing servers.

> thinking of writing a direct interface to OSX audio, but using portaudio
> as the interface between nas and OSX audio.

Are you refering to http://www.portaudio.com/ ?

It's your call, I can't say if it would be easier to use this or coreaudio.

Ringing telephones (and other symmetric communication lines) are the
bane of focused work.
                        -- René Pfeiffer

More information about the Nas mailing list