System_Create

FMOD Studio API

Firelight Technologies FMOD Studio API

System_Create

FMOD System creation function. This must be called to create an FMOD System object before you can do anything else. Use this function to create 1, or multiple instances of FMOD System objects.

C++ Syntax

FMOD_RESULT System_Create(
  FMOD::System **system
);

C Syntax

FMOD_RESULT FMOD_System_Create(
  FMOD_SYSTEM **system
);

C# Syntax

static RESULT Factory.System_Create(
  out System system
);

JavaScript Syntax

FMOD.System_Create(
  system,
);

Parameters

system

Address of a pointer that receives the new FMOD System object. HTML5 Note - the object is written to system.val

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

Remarks

Use System::release to free a system object.

NOTE! Calls to System_Create and System::release are not thread-safe. Do not call these functions simultaneously from multiple threads at once.

See Also




Version 1.10.03 Built on Feb 1, 2018