The OpenD Programming Language

AudioOutputThread.this

Pass true to enable the audio thread. Otherwise, it will just live as a dummy mock object that you should not actually try to use.

  1. this(bool enable, int SampleRate, int channels, string device)
    struct AudioOutputThread
    this
    (
    bool enable
    ,
    int SampleRate = 44100
    ,
    int channels = 2
    ,
    string device = "default"
    )
  2. this(bool enable, string device, int SampleRate, int channels)

Meta

History

Parameter default added on Nov 8, 2020.

The sample rate parameter was not correctly applied to the device on Linux until December 24, 2020.