Module OcsfmlAudio.SoundRecorder

module SoundRecorder: sig .. end

val is_available : unit -> bool
Check if the system supports audio capture.

This function should always be called before using the audio capture features. If it returns false, then any attempt to use OcsfmlAudio.sound_recorder or one of its derived classes will fail.