Scot Thompson
2005-Oct-16 06:15 UTC
[Flac] Trivial Implementation for future libFLAC++ releases
Josh, I added the following trivial implementation of the C++ file decoder FLAC::Decoder::File::get_decode_position() to my file_decoder.cpp file... bool File::get_decode_position(FLAC__uint64 *position) const { FLAC__ASSERT(is_valid()); return (bool)::FLAC__file_decoder_get_decode_position(decoder_, position); } I would humbly suggest it be included in future libFLAC++ releases. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac/attachments/20051016/06334aec/attachment.htm
Josh Coalson
2005-Oct-17 07:25 UTC
[Flac] Trivial Implementation for future libFLAC++ releases
ok, will do, thanks. Josh --- Scot Thompson <scot.thompson@cox.net> wrote:> Josh, > > I added the following trivial implementation of the C++ file decoder > FLAC::Decoder::File::get_decode_position() to my file_decoder.cpp > file... > > > bool File::get_decode_position(FLAC__uint64 *position) const > { > FLAC__ASSERT(is_valid()); > return > > (bool)::FLAC__file_decoder_get_decode_position(decoder_, position); > } > > I would humbly suggest it be included in future libFLAC++ releases. > > Thanks! > > _______________________________________________ > Flac mailing list > Flac@xiph.org > http://lists.xiph.org/mailman/listinfo/flac >__________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/