module Decoder:Decode ogg/flac datasig
..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.
Types
type
ogg
val check_packet : Ogg.Stream.packet -> bool
val get_callbacks : Flac.Decoder.write -> ogg Flac.Decoder.callbacks
val create : Ogg.Stream.packet ->
Ogg.Stream.t ->
ogg Flac.Decoder.callbacks ->
ogg Flac.Decoder.dec
val update_ogg_stream : ogg Flac.Decoder.t -> Ogg.Stream.t -> unit
Ogg.Stream.t
associated
to the decoder.