package portaudio_c_bindings

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Portaudio_c_bindings.ViewSource

This module is a thin wrapper around Ctypes.CArray.t so you should be careful how you use values of this type. It's mostly to avoid copying during the PortAudio callbacks. If you need to keep data around after the callback, copy it into another array that you manage.

Sourcetype ('a, 'b) t
Sourceval set : ('a, 'b) t -> int -> 'a -> unit
Sourceval get : ('a, 'b) t -> int -> 'a
Sourceval length : ('a, 'b) t -> int
Sourceval buffer : ('a, 'b) t -> 'a Ctypes.CArray.t
Sourceval create : 'a Ctypes.typ -> len:int -> ('a, SampleFormat.non_interleaved) t
Sourceval slice : ('a, 'b) t -> start:int -> len:int -> ('a, 'b) t
Sourceval of_views : ('a, SampleFormat.non_interleaved) t array -> ('a Ctypes.ptr, SampleFormat.non_interleaved) t
OCaml

Innovation. Community. Security.