package ao
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Ao
Source
OCaml interface to the ao library.
Device type.
Which kind of driver?
Byte format specifier.
Source
type driver_t = private {
id : int;
kind : driver_kind_t;
short_name : string;
name : string;
comment : string;
priority : int;
preferred_byte_format : byte_format_t;
options : string list;
}
Driver type (private).
Raised when trying to play or close * a closed device.
Raised when passing an invalid parameter's value.
Source
val open_live :
?bits:int ->
?rate:int ->
?channels:int ->
?channels_matrix:string ->
?byte_format:byte_format_t ->
?options:(string * string) list ->
?driver:driver_t ->
unit ->
t
open_live
. * The channels_matrix
parameter is * used only if the module is compiled against * libao >= 1.0.
Source
val open_file :
?bits:int ->
?rate:int ->
?channels:int ->
?channels_matrix:string ->
?byte_format:byte_format_t ->
?options:(string * string) list ->
?driver:driver_t ->
?overwrite:bool ->
string ->
t
open_file
. * The channels_matrix
parameter is * used only if the module is compiled against * libao >= 1.0.
find_driver name
returns the driver associated with the given short * name.
Backward compatibility functions, do not use them in new code.