[nas] playing /dev/stdin

Hanspeter Roth hampi at rootshell.be
Fri Jul 15 12:08:27 MDT 2005


  On Jul 14 at 18:40, Jon Trulson spoke:

> On Thu, 14 Jul 2005, Hanspeter Roth wrote:
> 
> >
> >Hello,
> >
> >it seems that auplay doen't want to play /dev/stdin. It claims:
> >
> >Couldn't play file "/dev/stdin"
> >
> >Playing /dev/stdin would be usefull for piping.
> >Why doesn't auplay want to play /dev/stdin?
> >
> 
> 	Depends on what you were trying to play...
> 
> 	These threads may interest you:
> 
> 	http://radscan.com/nas/nas-ml/msg00333.html
> 	http://radscan.com/nas/nas-ml/msg00348.html
> 
> 
> 	Basically, auplay will play .au files from stdin, due to luck.  It 
> would need to be modified in order to allow the user to specify ahead of 
> time what data was about to be played...  That's what causes the problem - 
> the texhnique used to determine what type of data is to be played.

I wanted to play an mp3 song. So

 madplay -o snd:- song.mp3 | auplay

works.

-Hanspeter
> 
> 
> -- 
> Jon Trulson    mailto:jon at radscan.com
> ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
> PGP keys at http://radscan.com/~jon/PGPKeys.txt
> #include <std/disclaimer.h>
> "I am Nomad." -Nomad



More information about the Nas mailing list