AudioInput.this

device is a device name. On Linux, it is the ALSA string. On Windows, it is currently ignored, so you should pass "default" or null so when it does get implemented your code won't break.

  1. this(int card, int SampleRate, int channels)
  2. this(string device, int SampleRate, int channels)
    struct AudioInput
    this
    (
    string device
    ,
    int SampleRate = 44100
    ,
    int channels = 2
    )

Meta

History

Added Nov 8, 2020.