[Flac-dev] flac command line usage (was: the road to 1.0...)

Josh Coalson xflac at yahoo.com
Tue May 1 14:49:46 PDT 2001


> > Now, that I've gone to implement it, there's a problem it creates
> with
> > piping, that flac doesn't know what to name an output file when the
> input is
> > stdin, and there would be no clean way to tell to write a decoded
> file to
> > stdout.  Any suggestions?
> 
> The logical thing to do is to output to stdout...what is the
> complicating
> factor?  Is it because you leave the filenames in argv[]?  It's hard
> to
> tell at first glance...
> 
yeah, I wrote that before your previous response.  mimicking gzip
is the right way.  I guess the only other change needed will be
to write the runtime stats to stderr (like gzip -v does) instead of
stdout to avoid interfering with pipes.

Josh


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




More information about the Flac-dev mailing list