scot.thompson@cox.net
2005-Aug-03 01:05 UTC
[Flac] C++ File Decoder position not implemented?
It appears the C++ File Decoder wrapper to the FLAC__File_Decoder_decode_position function has not been implemented. 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 :-) Thanks! Scot -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac/attachments/20050803/5c1fa744/attachment.html
--- scot.thompson@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