createStudioSystemWithLibrary function

FmodStudioSystem createStudioSystemWithLibrary(
  1. FmodLibrary library, {
  2. int maxChannels = 256,
  3. bool liveUpdate = false,
  4. int headerVersion = kFmodDefaultHeaderVersion,
  5. FmodOutputType output = FmodOutputType.autodetect,
})

Creates a Studio system over an explicitly opened FmodLibrary instead of the environment-based lookup. Native-only; exported through package:fmod/ffi.dart.

Implementation

FmodStudioSystem createStudioSystemWithLibrary(
  FmodLibrary library, {
  int maxChannels = 256,
  bool liveUpdate = false,
  int headerVersion = kFmodDefaultHeaderVersion,
  FmodOutputType output = FmodOutputType.autodetect,
}) => _createStudioSystem(
  FmodBindings(library),
  maxChannels: maxChannels,
  liveUpdate: liveUpdate,
  headerVersion: headerVersion,
  output: output,
);