Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Simple pulseaudio interface.
val create :
?server:string ->
client_name:string ->
dir:dir ->
?dev:string ->
stream_name:string ->
sample:sample ->
?map:map ->
?attr:buffer_attr ->
unit ->
t
val free : t -> unit
Close and free a connection to a server.
val read : t -> float array array -> int -> int -> unit
val read_ba :
t ->
(float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t ->
unit
val write : t -> float array array -> int -> int -> unit
val write_ba :
t ->
(float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t ->
unit
Write data stored in a bigarray. Samples are interleaved.
val drain : t -> unit
Wait until all data already written is played by the daemon.
val flush : t -> unit
Flush the playback buffer.
val latency : t -> int
Return the playback latency.