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. -- Brady Patterson (brady@spaceship.com) How come I can't hurt this damn turtle?
--- Matt Zimmerman <mdz@debian.org> wrote:> 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).hmm, where to start... Brady, I would say for now, your proposal is fine. I am going to move flac to getopt soon but you will probably be finished first. in any case both will be done before the next release. this is a good temp solution until... Matt, that would be cool if you wanted to take on the audiofile support. I have actually been waiting to ask you for that, waiting until I got the getopt support done, and the new higher-level encoder layers in libFLAC that will pull in some of the madness from flac in a structured way. the flac code should be in much better shape then for the audiofile rework. right now it's just embarassing. Josh __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
On Tue, 30 Jul 2002 23:10:20 -0400, Matt Zimmerman wrote:>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).why not integrate flac in ogg123?
I've been using alsaplayer -i text as my command-line player for FLAC files for ages now (though I didn't know about flac123). -- Asheesh. On Tue, 30 Jul 2002, Matt Zimmerman wrote:> 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).
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
--- Matt Zimmerman <mdz@debian.org> wrote:> 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).forgot to reply to this... there is a flac123 here: http://flac-tools.sourceforge.net not sure how up to date it is though. Josh __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
How about the opposite? What I would like to see is FLAC support in libaudiofile, so applications written with libaudiofile could transparently take advantage on FLAC's compression. Ironically I guess it would still make sense to use libaudiofile in FLAC for getting input. Mmmm, cyclic dependancies... Or is that just a stupid idea? Dave On Wed, 2002-07-31 at 13:10, Matt Zimmerman wrote:> 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 > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flac-dev >