: Hi all,
: I'm using NAS (Network Audio System) to output sound from
: Linux boxes to NCD X-Terminals.
: The problem with NAS is, that there are only few programs
: that support sound output via NAS. Most applications just
: use the local /dev/audio (/dev/dsp etc.).
: (I'm looking for a mp3-player that supports NAS. Does anyone
: know one?)
I found the opposite thing. Most sound-aware programs on my box
have a compile-time option to choose between various sound output
system. NAS is always among them.
Only thing which I haven't found NAS equivalent by now is mpeg player.
I'm currently use following shell script:
#!/bin/bash
It needs to reduce quality using -2 switch, but I'm sure that if I would
have only one process in pipeline (replace auplay with some utility,
which is able to play raw audio given frequency and other parameters in
command line) I would be quite able to play on full speed. It is very
straightforward task to write such beast using libaudio, but I haven't
found time yet.
Really I think that there is no place for NAS in kernel. As well as you
use separate program to do graphics you should use separate program to
do sound. I rather would say that direct writing to /dev/audio should be
strongly discouraged in favor of NAS, as well as SVGAlib is discouraged
in favor of X.
: IF there was kind of a kernel module that works like
: a soundcard driver (and supplies /dev/audio, maybe
: /dev/mixer and so on), but redirects output to a NAS server
: THEN almost all available programs that output sound could use NAS.
: Is this a good idea? Or are there other (better) approaches?
I think better appoach is to avoid installing binaries and install
everything from sources, checking for NAS support carefully and adding
one if neccesary. I've already written it for xpat2, and probably should
begin to distribute it. If all of us who prefer to run games remotely
would fix one program each, there would be no NAS unaware programs in
Unix.
P.S. Do you know exactly which NCD models supports NAS?
I have NCD ECX and it seems to miss it. (I use NAS anyway having old
486 as X terminal, but it would be nice to have one more sound-able
workplace)
--
--------------------------------------------------------
I have tin news and pine mail...