sig
  type t
  external create : unit -> SFSoundBufferRecorder.t
    = "caml_sfSoundBufferRecorder_create"
  external destroy : sbr:SFSoundBufferRecorder.t -> unit
    = "caml_sfSoundBufferRecorder_destroy"
  external start : sbr:SFSoundBufferRecorder.t -> sampleRate:int -> unit
    = "caml_sfSoundBufferRecorder_start"
  external stop : sbr:SFSoundBufferRecorder.t -> unit
    = "caml_sfSoundBufferRecorder_stop"
  external getSampleRate : sbr:SFSoundBufferRecorder.t -> int
    = "caml_sfSoundBufferRecorder_getSampleRate"
end