System::setSoftwareChannels

FMOD Studio API

Firelight Technologies FMOD Studio API

System::setSoftwareChannels

Sets the maximum number of software mixed channels possible.

C++ Syntax

FMOD_RESULT System::setSoftwareChannels(
  int numsoftwarechannels
);

C Syntax

FMOD_RESULT FMOD_System_SetSoftwareChannels(
  FMOD_SYSTEM *system,
  int numsoftwarechannels
);

C# Syntax

RESULT System.setSoftwareChannels(
  int numsoftwarechannels
);

JavaScript Syntax

System.setSoftwareChannels(
  numsoftwarechannels              
);

Parameters

numsoftwarechannels
The maximum number of mixable voices to be allocated by FMOD, default = 64.

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

This function cannot be called after FMOD is already activated, it must be called before System::init, or after System::close.

See Also




Version 1.10.03 Built on Feb 1, 2018