Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FSoundConcurrencyManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundConcurrency.h |
| Include Path | #include "Sound/SoundConcurrency.h" |
Syntax
class FSoundConcurrencyManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSoundConcurrencyManager
(
FAudioDevice* InAudioDevice |
Sound/SoundConcurrency.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSoundConcurrencyManager() |
Sound/SoundConcurrency.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioDevice | FAudioDevice * | Owning audio device ptr for the concurrency manager. | Sound/SoundConcurrency.h | |
| ConcurrencyGroups | FConcurrencyGroups | A map of concurrency active sound ID to concurrency active sounds | Sound/SoundConcurrency.h | |
| ConcurrencyMap | FConcurrencyMap | Global concurrency map that maps individual sounds instances to shared USoundConcurrency UObjects. | Sound/SoundConcurrency.h | |
| OwnerConcurrencyMap | FOwnerConcurrencyMap | Sound/SoundConcurrency.h | ||
| OwnerPerSoundConcurrencyMap | FOwnerPerSoundConcurrencyMap | A map of owners to concurrency maps for sounds which are concurrency-limited per sound owner. | Sound/SoundConcurrency.h | |
| SoundObjectToConcurrencyGroup | FPerSoundToActiveSoundsMap | Map of sound objects concurrency-limited globally | Sound/SoundConcurrency.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActiveSound * CreateNewActiveSound
(
const FActiveSound& NewActiveSound, |
Returns a newly allocated active sound given the input active sound struct. | Sound/SoundConcurrency.h | |
void RemoveActiveSound
(
FActiveSound& ActiveSound |
Removes the active sound from concurrency tracking when active sound is stopped. | Sound/SoundConcurrency.h | |
void StopDueToVoiceStealing
(
FActiveSound& ActiveSound |
Stops sound, applying concurrency rules for how to stop. | Sound/SoundConcurrency.h | |
void UpdateSoundsToCull() |
Culls any active sounds due to max concurrency sound resolution rule constraints being met | Sound/SoundConcurrency.h | |
void UpdateVolumeScaleGenerations() |
Updates generations for concurrency groups set to scale active sound volumes by distance or priority | Sound/SoundConcurrency.h |