--- Wolfgang Rohdewald <wolfgang@rohdewald.de>
wrote:> Hi,
>
> I wonder why FLAC::Decoder::FILE::process_single() even returns true
> when the
> end of the input file is reached.
>
> Is that a bug or intended?
end-of-stream handling is a thorny problem in the current API
mainly because reads are pull-based. you still have to check
the state after process_single() returns true to see if you're
at the end-of-stream.
I am still thinking about how to rework this.
Josh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com