Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Core SDK

Vivox Core SDK

Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
    • Presence management
    • Messaging
    • Manage audio
      • Direct voice audio access
      • In-game audio control
        • In-game audio device selection
        • In-game control of audio levels
        • Push to talk
      • Muting
    • Couch co-op
    • Android app development
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation

In-game control of audio levels

Allow players to control voice and audio levels in-game.
Read time 1 minute
Last updated 8 months ago

You can use the Vivox SDK to allow in-game control for audio input and output levels.
The following list details examples of scenarios in which you would want to implement in-game control of audio levels:
  • A user wants game sounds and voice output to have different volume levels.
  • One user is playing music in the background, and another user wants to reduce the audio volume that is playing.
  • A user wants to prioritize audio from one conversation over another, but still wants to hear the other conversation.
Volume settings for both capture devices and render devices adjust the apparent loudness of the device. You can set these values to a range between 0 to 100 on a logarithmic scale, with +0db (no change) at 50. Because settings use a logarithmic scale, the generally usable range is between 40 and 75, with 75 tending towards over modulation on a capture device and possible user discomfort when using a headset. Note that any increase in the volume above the default value can introduce some amount of distortion, although this is less noticeable at lower levels.
Note
We do not recommend that you allow users to increase their capture device volume above 75.
In the Vivox SDK, use
vx_req_aux_set_mic_level_t
and
vx_req_aux_set_speaker_level_t
to allow users to change the gain (volume) of their respective audio device.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page