[Flac-dev] command-line: AIFF writer advice
Matt Zimmerman
mdz at debian.org
Tue Jul 30 20:12:02 PDT 2002
On Tue, Jul 30, 2002 at 09:04:38PM -0500, Brady Patterson wrote:
> The patch I submitted only reads AIFF files. I'm about to start the patch to
> write AIFF files.
>
> To do so, we need a command-line option to specify AIFF. My inclination is to
> add an option:
>
> -ff { raw | wav | aif }
>
> In some sense, "-ff" is silly since it probably stands for "format format".
> Still, I think it's better than just "-f", since the first "f" specifies the
> entire format option group.
>
> Does this seem reasonable?
>
> Initially, the default will still always be wav. OSX users are likely to want
> AIFF as the default, though, so eventually I'll add a configuration option to
> set the default format for decompression.
A more flexible approach might be to use libaudiofile or a similar facility,
so that multiple input formats can be automatically recognized, and future
formats supported in a generalized way.
I have meant to write this support for some time, but have not had the
opportunity. It would also be nice to have a simple command-line player
using libao (a la ogg123).
--
- mdz
More information about the Flac-dev
mailing list