package portaudio_c_bindings

  1. Overview
  2. Docs

Parameters

module F : Cstubs.FOREIGN

Signature

include module type of struct include Portaudio_types end
include sig ... end
val e_val : 'a -> string -> 'a * int64
module PaError = Portaudio_types.PaError
val pa_device_index : int Ctypes_static.typ
val pa_host_api_index : int Ctypes_static.typ
val pa_time : float Ctypes_static.typ
module VersionInfo = Portaudio_types.VersionInfo
module SampleFormat = Portaudio_types.SampleFormat
module StreamFlags = Portaudio_types.StreamFlags
module DeviceInfo = Portaudio_types.DeviceInfo
module StreamParameters = Portaudio_types.StreamParameters
module StreamCallbackTimeInfo = Portaudio_types.StreamCallbackTimeInfo
module StreamCallbackFlags = Portaudio_types.StreamCallbackFlags
module StreamCallbackResult = Portaudio_types.StreamCallbackResult
type stream = unit
val stream : unit Ctypes_static.typ
val pa_stream_finished_callback : (unit Ctypes_static.ptr -> unit) Ctypes_static.fn
module StreamInfo = Portaudio_types.StreamInfo
module HostApiTypeId = Portaudio_types.HostApiTypeId
module HostApiInfo = Portaudio_types.HostApiInfo
module HostErrorInfo = Portaudio_types.HostErrorInfo
val get_version : (unit -> int F.return) F.result
val get_version_text : (unit -> string F.return) F.result
val get_version_info : (unit -> VersionInfo.t Ctypes_static.ptr F.return) F.result
val get_error_text : (PaError.t -> string F.return) F.result
val initialize : (unit -> PaError.t F.return) F.result
val terminate : (unit -> PaError.t F.return) F.result
val get_host_api_count : (unit -> int F.return) F.result
val get_default_host_api : (unit -> int F.return) F.result
val get_host_api_info : (int -> HostApiInfo.t Ctypes_static.ptr F.return) F.result
val host_api_type_id_to_host_api_index : (HostApiTypeId.t -> int F.return) F.result
val get_last_host_error_info : (unit -> HostErrorInfo.t Ctypes_static.ptr F.return) F.result
val get_device_count : (unit -> int F.return) F.result
val get_default_input_device : (unit -> int F.return) F.result
val get_default_output_device : (unit -> int F.return) F.result
val get_device_info : (int -> DeviceInfo.t Ctypes_static.ptr F.return) F.result
val close_stream : (unit Ctypes_static.ptr -> PaError.t F.return) F.result
val start_stream : (unit Ctypes_static.ptr -> PaError.t F.return) F.result
val stop_stream : (unit Ctypes_static.ptr -> PaError.t F.return) F.result
val abort_stream : (unit Ctypes_static.ptr -> PaError.t F.return) F.result
val is_stream_stopped : (unit Ctypes_static.ptr -> PaError.t F.return) F.result
val is_stream_active : (unit Ctypes_static.ptr -> PaError.t F.return) F.result
val set_stream_finished_callback : (unit Ctypes_static.ptr -> (unit Ctypes_static.ptr -> unit) option -> PaError.t F.return) F.result
val get_stream_time : (unit Ctypes_static.ptr -> float F.return) F.result
val get_stream_cpu_load : (unit Ctypes_static.ptr -> float F.return) F.result
val get_stream_read_available : (unit Ctypes_static.ptr -> Signed.long F.return) F.result
val get_stream_write_available : (unit Ctypes_static.ptr -> Signed.long F.return) F.result
val get_sample_size : (Unsigned.ulong -> PaError.t F.return) F.result
val sleep : (Signed.long -> unit F.return) F.result
OCaml

Innovation. Community. Security.