sfml

Bindings to the SFML multimedia library
IN THIS PACKAGE
Module SFSoundBuffer
type t
val loadFromFile : filename:string -> t
val loadFromMemory : data:string -> t
val loadFromSamples : samples:samples -> channelCount:int -> sampleRate:int -> t
type input = [
| `File of string
| `Memory of string
| `Samples of samples * int * int
]
val load : input -> t
val getSampleCount : t -> int
val getSampleRate : t -> int
val getChannelCount : t -> int
val getDuration : t -> SFTime.t
val saveToFile : t -> filename:string -> unit