Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Vorbis.DecoderSourceInternal decoder state
Initialize decoder. Needs the first 3 packets of the ogg logical * stream. Use check_packet to check against the first one.
Check wether a ogg packet contains vorbis data. * Usefull for parsing ogg containers with multiple streams.
decode_pcm dec stream buffer pos offset decodes pcm float data * from stream. The floats are written in buffer, starting at * position pos. The function returns the number of samples actually written.
val decode_pcm_ba :
t ->
Ogg.Stream.stream ->
(float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t array ->
int ->
int ->
intdecode_pcm_ba dec stream buffer pos offset decodes pcm float data * from stream. The floats are written in buffer, starting at * position pos. The function returns the number of samples actually written.