object
  method close : unit
  method write : Audio.buffer -> int -> int -> unit
end