--  LUA SetAudioSubmixOutputVolumes

0x825DC0D1

-- SET_AUDIO_SUBMIX_OUTPUT_VOLUMES
SetAudioSubmixOutputVolumes(
	submixId --[[ integer ]], 
	outputSlot --[[ integer ]], 
	frontLeftVolume --[[ number ]], 
	frontRightVolume --[[ number ]], 
	rearLeftVolume --[[ number ]], 
	rearRightVolume --[[ number ]], 
	channel5Volume --[[ number ]], 
	channel6Volume --[[ number ]]
)

Parameters:

    submixId:

    The submix.
    outputSlot:

    The output slot index.
    frontLeftVolume:

    The volume for the front left channel.
    frontRightVolume:

    The volume for the front right channel.
    rearLeftVolume:

    The volume for the rear left channel.
    rearRightVolume:

    The volume for the rear right channel.
    channel5Volume:

    The volume for channel 5.
    channel6Volume:

    The volume for channel 6.

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:

header:

sentence.

header:

sentence.

header:

sentence.

Returns:

sentence.

Summary

sentence.

Example

---  
    


Additional natives used in this example, or natives commonly used with this native.

NATIVE, NATIVE

Common Errors or Problems

Problem: sentence.

Problem: sentence.

Problem: sentence.

Credits and Disclaimers

The base of this data was taken from the redm/cfx fivem/rdr docs, and vespura. We have been saving and making notes for two years now, and are now adding them to our site for everyone to use. We will be modifying the notes as needed, and building tutorials around the data so these pages will change as we work on it. This is a manual process, not an automated one, so updates will occur as we have time, the priority is releasing resources. Thanks for your patience.

Was the documentation useful?

Related Examples and Posts

Dragon Codes