{"hash":"0x825DC0D1","ns":"CFX","name":"SET_AUDIO_SUBMIX_OUTPUT_VOLUMES","slug":"SET_AUDIO_SUBMIX_OUTPUT_VOLUMES","official":true,"named":true,"luaName":"SetAudioSubmixOutputVolumes","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"submixId","type":"int","description":"The submix."},{"name":"outputSlot","type":"int","description":"The output slot index."},{"name":"frontLeftVolume","type":"float","description":"The volume for the front left channel."},{"name":"frontRightVolume","type":"float","description":"The volume for the front right channel."},{"name":"rearLeftVolume","type":"float","description":"The volume for the rear left channel."},{"name":"rearRightVolume","type":"float","description":"The volume for the rear right channel."},{"name":"channel5Volume","type":"float","description":"The volume for channel 5."},{"name":"channel6Volume","type":"float","description":"The volume for channel 6."}],"summary":"Sets the volumes for the sound channels in a submix effect.","descriptions":[{"source":"cfx","format":"md","body":"Sets the volumes for the sound channels in a submix effect.\nValues can be between 0.0 and 1.0.\nChannel 5 and channel 6 are not used in voice chat but are believed to be center and LFE channels.\nOutput slot starts at 0 for the first ADD_AUDIO_SUBMIX_OUTPUT call then incremented by 1 on each subsequent call."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_AUDIO_SUBMIX_OUTPUT_VOLUMES","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_AUDIO_SUBMIX_OUTPUT_VOLUMES.md","snippets":{"lua":"SetAudioSubmixOutputVolumes(submixId, outputSlot, frontLeftVolume, frontRightVolume, rearLeftVolume, rearRightVolume, channel5Volume, channel6Volume)","luaInvoke":"Citizen.InvokeNative(0x825dc0d1, submixId, outputSlot, frontLeftVolume, frontRightVolume, rearLeftVolume, rearRightVolume, channel5Volume, channel6Volume)","js":"SetAudioSubmixOutputVolumes(submixId, outputSlot, frontLeftVolume, frontRightVolume, rearLeftVolume, rearRightVolume, channel5Volume, channel6Volume);","jsInvoke":"Citizen.invokeNative('0x825dc0d1', submixId, outputSlot, frontLeftVolume + 0.0000001, frontRightVolume + 0.0000001, rearLeftVolume + 0.0000001, rearRightVolume + 0.0000001, channel5Volume + 0.0000001, channel6Volume + 0.0000001);","csharp":"Function.Call((Hash)0x825dc0d1, submixId, outputSlot, frontLeftVolume, frontRightVolume, rearLeftVolume, rearRightVolume, channel5Volume, channel6Volume);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}