Jack.Ringbufferval create : int -> tval mlock : t -> unitval read : t -> bytes -> int -> int -> intval read_space : t -> intval write : t -> bytes -> int -> int -> intval write_space : t -> intRead from the ringbuffer into a float32 Bigarray. Offset and count are in samples (float32 units). Returns the number of samples read.
val read_alloc : t -> float arrayRead all available data from the ringbuffer into a freshly allocated float64 OCaml array, converting from float32.
val read_to_buffer : t -> float array -> int -> int -> intRead from the ringbuffer into a float64 OCaml array, converting from float32. Offset and count are in samples. Returns the number of samples read.
Write from a float32 Bigarray into the ringbuffer. Offset and count are in samples (float32 units). Returns the number of samples written.
val write_from_buffer : t -> float array -> int -> int -> intWrite from a float64 OCaml array into the ringbuffer, converting to float32. Offset and count are in samples. Returns the number of samples written.
val read_advance : t -> int -> unitAdvance the read pointer by n bytes without reading the data.