audio_record_async

Record the mono audio at the given sampling rate asynchronously

Arguments

  1. Integer sample rate (for example: 8000, 16000, 22050, 32000, 44100)
  2. Integer bits per sample (16, 32)
  3. Integer number of samples to record
  4. One argument callback function eg. fn(arg) that will be called when recording is finished. Argument of the callback function will be vector, recorded data.

Output

Boolean