Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDeveloperSettings
- UAudioSettings
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/AudioSettings.h |
| Include | #include "Sound/AudioSettings.h" |
Syntax
UCLASS (Config=Engine, defaultconfig, Meta=(DisplayName="Audio"), MinimalAPI)
class UAudioSettings : public UDeveloperSettings
Remarks
Audio settings.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAudioSettingsChanged | AudioSettingsChanged | ||
| uint32: 1 | bAllowCenterChannel3DPanning | Enables the surround sound spatialization calculations to include the center channel. | |
| uint32: 1 | bAllowPlayWhenSilent | Allows sounds to play at 0 volume. | |
| FSoftObjectPath | BaseDefaultSubmix | The default submix to use for implicit submix sends (i.e. if the base submix send is null or if a submix parent is null) | |
| uint32: 1 | bDisableMasterEQ | Disables master EQ effect in the audio DSP graph. | |
| TArray< FSoundDebugEntry > | DebugSounds | Sounds only packaged in non-shipped builds for debugging. | |
| TArray< FDefaultAudioBusSettings > | DefaultAudioBuses | Array of AudioBuses that are automatically initialized when the AudioEngine is initialized | |
| EDefaultAudioCompressionType | DefaultAudioCompressionType | Default audio compression type to use for audio assets. | |
| FSoftObjectPath | DefaultBaseSoundMix | The SoundMix to use as base when no other system has specified a Base SoundMix | |
| FSoftObjectPath | DefaultMediaSoundClassName | The SoundClass assigned to media player assets | |
| UAudioSettings::FAudioSettingsChanged | DefaultSoundClassName | The SoundClass assigned to newly created sounds | |
| FSoftObjectPath | DefaultSoundConcurrencyName | The SoundConcurrency assigned to newly created sounds | |
| FString | DialogueFilenameFormat | The format string to use when generating the filename for contexts within dialogue waves. | |
| FSoftObjectPath | EQSubmix | The submix through which all sounds set to use legacy EQ system are routed | |
| float | GlobalMaxPitchScale | The value to use to clamp the max pitch scale | |
| float | GlobalMinPitchScale | The value to use to clamp the min pitch scale | |
| FSoftObjectPath | MasterSubmix | The default submix through which all sounds are routed to. | |
| int32 | MaximumConcurrentStreams | How many streaming sounds can be played at the same time (if more are played they will be sorted by priority) | |
| EMonoChannelUpmixMethod | MonoChannelUpmixMethod | The upmixing method for mono sound sources. | |
| uint32 | NumStoppingSources | The max number of sources to reserve for "stopping" sounds. | |
| EPanningMethod | PanningMethod | The method to use when doing non-binaural or object-based panning. | |
| TArray< FAudioQualitySettings > | QualityLevels | ||
| FSoftObjectPath | ReverbSubmix | The submix through which all sounds set to use reverb are routed | |
| EVoiceSampleRate | VoiPSampleRate | Sample rate used for voice over IP. | |
| FSoftObjectPath | VoiPSoundClass | Sound class to be used for the VOIP audio component |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | FindQualityNameByIndex
(
int32 Index |
Get the quality name level for a given index. | |
| int32 | |||
| USoundClass * | |||
| USoundClass * | |||
| USoundConcurrency * | |||
| int32 | Returns the highest value for MaxChannels among all quality levels | ||
| const FAudioQualitySettings & | GetQualityLevelSettings
(
int32 QualityLevel |
Get the quality level settings at the provided level index. | |
| int32 | Get the total number of quality level settings. | ||
| void | Loads default object instances from soft object path properties. | ||
| FAudioSettingsChanged & | Returns event to be bound to if caller wants to know when audio settings are modified | ||
| void | Registers Parameter Interfaces defined by the engine module. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAudioSettingsChanged | Event to listen for when settings reflected properties are changed. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | DefaultCompressionQuality_DEPRECATED | The default compression quality (e.g. for new SoundWaves) | |
| float | DefaultReverbSendLevel_DEPRECATED | The amount of audio to send to reverb submixes if no reverb send is setup for the source through attenuation settings. |