SET_AUDIO_SUBMIX_OUTPUT_VOLUMES
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.
CFX
Signature
lua
SetAudioSubmixOutputVolumes(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| int | The submix. | |
| int | The output slot index. | |
| float | The volume for the front left channel. | |
| float | The volume for the front right channel. | |
| float | The volume for the rear left channel. | |
| float | The volume for the rear right channel. | |
| float | The volume for channel 5. | |
| float | The volume for channel 6. |
Usage
lua
SetAudioSubmixOutputVolumes(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
