module Encoder:Encode ogg/flac datasig
..end
type
ogg
val callbacks : ogg Flac.Encoder.callbacks
val create : ?comments:(string * string) list ->
Flac.Encoder.params ->
Ogg.Stream.t ->
ogg Flac.Encoder.t * Ogg.Stream.packet *
Ogg.Stream.packet list
The returned value contains an encoder value
that can be used with the functions from the
Flac.Encoder
module, as well as an initial
ogg packet, that should be placed in its own
page at the beginning of the ogg stream, and
then the remaining initial packets, containing
comments data, that should be placed in some ogg
pages before and not containing any audio data.
See ogg stream documentation for more information
on ogg data muxing.
val finish : ogg Flac.Encoder.t -> unit