[nas] playing /dev/stdin
Paul Fox
pgf at foxharp.boston.ma.us
Thu Jul 14 15:28:04 MDT 2005
have you tried "auplay -"? the reason that /dev/stdin breaks is
probably that the code does special things to handle stdin if you
use "-" as the filename. otherwise it tries to seek on the file,
which fails when the input is a pipe. see the code in
lib/audio/snd.c:SndOpenFileForReading().
paul
>
> 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?
>
> -Hanspeter
=---------------------
paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 79.0 degrees)
More information about the Nas
mailing list