AudioOutput.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(string device, int SampleRate, int channels)
    struct AudioOutput
    this
    (
    string device
    ,
    int SampleRate = 44100
    ,
    int channels = 2
    )
  2. this(int card, int SampleRate, int channels)

Meta

History

Added Nov 8, 2020.