[Flac-dev] return value of process_single()
Josh Coalson
xflac at yahoo.com
Wed Jan 26 09:53:17 PST 2005
--- Wolfgang Rohdewald <wolfgang at 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
More information about the Flac-dev
mailing list