On Sun, Feb 16, 2003 at 01:05:06PM +0100, Miroslav Lichvar wrote:> On Sat, Feb 15, 2003 at 06:18:12PM -0700, David Bishop wrote: > > I'm attempting to add flac playback to my app, and would like a couple of > > pointers. First of all, I'm very much a "learn by seeing other people doing" > > sort of programmer, and would love a pointer to an open-source app that uses > > libFLAC++, so I could see how they do it. > > In flac sources there is an example: src/test_libFLAC++/decoders.cppI found that a little while after sending the email. Very good (readable) code! Thanks! D.A.Bishop
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Followup to original question: how do I determine if a particular flac file is signed (and then, if big or little endian) or unsigned? Unless I'm missing something obvious, I don't see a ->get_signedness() :-) Thanks, D.A.Bishop -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+UGGDEHLN/FXAbC0RAn+rAJ4yVhW+U55hcFnnG6y3KIS8D8gAZgCfbhhp by9hsCqWdBAm1Cedmm4Kt6I=bXDf -----END PGP SIGNATURE-----
samples in FLAC are always signed. they must be signed going into the encoder (flac converts unsigned samples to signed) and they come out of the decoder signed. Josh --- David Bishop <tech@bishop.dhs.org> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Followup to original question: how do I determine if a particular > flac file is > signed (and then, if big or little endian) or unsigned? Unless I'm > missing > something obvious, I don't see a ->get_signedness() :-) > > Thanks, > > D.A.Bishop > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+UGGDEHLN/FXAbC0RAn+rAJ4yVhW+U55hcFnnG6y3KIS8D8gAZgCfbhhp > by9hsCqWdBAm1Cedmm4Kt6I> =bXDf > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flac-dev__________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com