module AlSource: sig
.. end
type
t
val create : unit -> t
val attach_buffer : t -> AlBuffer.t -> unit
val play : t -> unit
val pause : t -> unit
val stop : t -> unit
val rewind : t -> unit
val i : t ->
[< `buffer
| `cone_inner_angle
| `cone_outer_angle
| `looping
| `source_relative
| `source_state ] ->
int -> unit
val geti : t ->
[< `buffer
| `buffers_processed
| `buffers_queued
| `cone_inner_angle
| `cone_outer_angle
| `looping
| `source_relative
| `source_state ] ->
int
val get_source_state : t -> [> `initial | `paused | `playing | `stopped ]
val f : t ->
[< `cone_inner_angle
| `cone_outer_angle
| `cone_outer_gain
| `gain
| `max_distance
| `max_gain
| `min_gain
| `pitch
| `reference_distance
| `rolloff_factor ] ->
float -> unit
val getf : t ->
[< `cone_inner_angle
| `cone_outer_angle
| `cone_outer_gain
| `gain
| `max_distance
| `max_gain
| `min_gain
| `pitch
| `reference_distance
| `rolloff_factor ] ->
float
val fv : t -> [< `direction | `position | `velocity ] -> float array -> unit
val getfv : t -> [< `direction | `position | `velocity ] -> float array
val from_buffer : AlBuffer.t -> t
val load_from_file : string -> t