setConfigFilename static method

void setConfigFilename(
  1. String filename
)

Sets the configuration filename for the LSL library.

@param filename The path to the configuration file.

@note: This should be called before any other LSL operations. @note: see https://labstreaminglayer.readthedocs.io/info/lslapicfg.html#configuration-file-contents

Implementation

static void setConfigFilename(String filename) {
  final filenamePtr = filename.toNativeUtf8();
  lsl_set_config_filename(filenamePtr.cast());
  filenamePtr.free();
}