SetAudioSubmixOutputVolumes
DocsSetAudioSubmixOutputVolumes(submixId, outputSlot, frontLeftVolume, frontRightVolume, rearLeftVolume, rearRightVolume, channel5Volume, channel6Volume)Description
Sets the volumes for the sound channels in a submix effect.
Values can be between 0.0 and 1.0.
Channel 5 and channel 6 are not used in voice chat but are believed to be center and LFE channels.
Output slot starts at 0 for the first ADD_AUDIO_SUBMIX_OUTPUT call then incremented by 1 on each subsequent call.
Parameters
| Name | Type | Description |
|---|---|---|
submixId | int | The submix. |
outputSlot | int | The output slot index. |
frontLeftVolume | float | The volume for the front left channel. |
frontRightVolume | float | The volume for the front right channel. |
rearLeftVolume | float | The volume for the rear left channel. |
rearRightVolume | float | The volume for the rear right channel. |
channel5Volume | float | The volume for channel 5. |
channel6Volume | float | The volume for channel 6. |
Returns
voidThis native does not return a value.