Skip to content

mrbindraw/SystemAudioVolumeLite

Repository files navigation

SystemAudioVolumeLite

This is a free version of the plugin SystemAudioVolume with the lite functionality.
This plugin can get the default audio device name and change audio volume in the system.

C++ / Blueprints functions:

  • FString GetDefaultDeviceName / GetSystemAudioDefaultDeviceName ( );
  • GetDeviceIdFromName / GetSystemAudioDeviceIdFromName (const FString& InDeviceName, FString& OutDeviceId);
  • GetDeviceNameFromId / GetSystemAudioDeviceNameFromId (const FString& InDeviceId, FString& OutDeviceName);
  • SetVolume / SetSystemAudioVolume(float Value);
  • SetVolumeForDeviceId / SetSystemAudioVolumeForDeviceId (const FString& DeviceId, float Volume);
  • float GetVolume / GetSystemAudioVolume ( );
  • float GetVolumeForDeviceId / GetSystemAudioVolumeForDeviceId (const FString& DeviceId);
  • TMap<FString, FString> GetActiveDevices / GetSystemAudioActiveDevices( );

Install into Project

You can install manually by extracting archive SystemAudioVolumeLite-X.X.X-UE-X.X.zip from Releases
to your project plugins folder or build example project ExamplePrj-UE-X.X-SystemAudioVolumeLite-X.X.X.zip
Documentation: README_SystemAudioVolumeLite
Example project: DemoSysAudioVolumeLite

Install into Unreal Engine

You can install it from the marketplace SystemAudioVolumeLite

Manual:

  1. Download and extracting archive SystemAudioVolumeLite-X.X.X-UE-X.X.zip from Releases to any disk path, for example: D:\Plugins
  2. Than open any terminal (cmd, powershell) in D:\Plugins folder
  3. Launch RunUAT in the terminal with arguments, for example:

Windows:

D:\EpicGames\UE_5.4\Engine\Build\BatchFiles\RunUAT.bat BuildPlugin -Plugin=D:\Plugins\SystemAudioVolumeLite\SystemAudioVolumeLite.uplugin -Package=D:\Plugins\UE_5.4\SystemAudioVolumeLite -Rocket

Mac:

sh "/Users/Shared/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.sh" BuildPlugin -Plugin="$PWD/SystemAudioVolumeLite/SystemAudioVolumeLite.uplugin" -Package="$PWD/5.4/SystemAudioVolumeLite" -Rocket
  1. If you see the message BUILD SUCCESSFUL in the terminal after the build is complete,
    copy the SystemAudioVolumeLite folder from D:\Plugins\UE_5.4 to D:\EpicGames\UE_5.4\Engine\Plugins\Marketplace

Important

The engine path and folder names may differ on your system.