Studio::System::getNumListeners

FMOD Studio API

Firelight Technologies FMOD Studio API

Studio::System::getNumListeners

Gets the number of listeners that have been set into in the 3D sound scene.

C++ Syntax

FMOD_RESULT Studio::System::getNumListeners(
  int *numlisteners
);

C Syntax

FMOD_RESULT FMOD_Studio_System_GetNumListeners(
  FMOD_STUDIO_SYSTEM *system,
  int *numlisteners
);

C# Syntax

RESULT Studio.System.getNumListeners(
  out int numlisteners
);

JavaScript Syntax

System.getNumListeners(
  numlisteners                     // writes value to numlisteners.val
);

Parameters

numlisteners
Number of listeners that have been set.

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.

See Also




Version 1.10.03 Built on Feb 1, 2018