Library
Module
Module type
Parameter
Class
Class type
* Library for decoding AAC and AAC+ streams. * *
A decode call can eat up to min_bytes_per_channel
bytes per decoded channel, so at least so much bytes per channel should be available in this stream.
val create : unit -> t
init dec buf ofs len
initializes a decoder given the len
bytes of data * in buf
starting at offset ofs
. It returns the offset (number of bytes to * skip), the samplerate and the number of channels of the stream. This function * should be used for AAC data.
decode dec buf ofs len
decodes at most len
bytes of data in buf
* starting at offset ofs
. It returns the number of bytes actually decoded * and the decoded data (non-interleaved).
val post_sync_reset : t -> unit
module Mp4 : sig ... end