audio_group_get_gain

This function returns the gain of the audio group with the given ID.

 

Syntax:

audio_group_get_gain(groupID);

ArgumentTypeDescription
groupIDAudio Group IDThe ID of the audio group

 

Returns:

Real (the gain of the audio group)

 

Example:

var _default_group_gain = audio_group_get_gain(audiogroup_default);

This gets the gain of the default audio group and stores it in a variable.