[Flac] Trivial Implementation for future libFLAC++ releases

Scot Thompson scthom at cox.net
Wed Sep 14 21:39:22 PDT 2005


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!



More information about the Flac mailing list