module Decoder:sig..end
The main difference is that in the
case of the ogg/flac decoding, the
exception Ogg.Not_enough_data may
be raised if the ogg stream used to
create the decoder does not contain
enough data. In this case, you should
feed more data into the ogg stream and
call the decoding function again.
This remark is valid for both the
Flac.Decoder.init and Flac.Decoder.process
functions.
type ogg
val check_packet : Ogg.Stream.packet -> boolval get_callbacks : Flac.Decoder.write -> ogg Flac.Decoder.callbacksval create : Ogg.Stream.packet ->
Ogg.Stream.t ->
ogg Flac.Decoder.callbacks ->
ogg Flac.Decoder.decval update_ogg_stream : ogg Flac.Decoder.t -> Ogg.Stream.t -> unitOgg.Stream.t associated
to the decoder.