[Flac] C++ File Decoder position not implemented?

Josh Coalson xflac at yahoo.com
Mon Aug 8 13:49:38 PDT 2005


--- scot.thompson at cox.net wrote:
> It appears the C++ File Decoder wrapper to the
> FLAC__File_Decoder_decode_position function has not been implemented.

correct.  I can't remember if that is an oversight or done on
purpose.

> How can I determine what the current sample is being decoded?
> 
> I note the seek_absolute function is included, so I can go to a
> particular
> sample, but I don't know where I am :-)

that function is really only useful for figuring out the byte
position of frame boundaries.  if you want to know what sample
number you are at, that function can't tell you, but it is
provided to your write callback.

Josh



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the Flac mailing list