FSoundConcurrencyManager

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundConcurrency.h

Include

#include "Sound/SoundConcurrency.h"

Syntax

class FSoundConcurrencyManager

Constructors

Name Description

Public function

FSoundConcurrencyManager

(
    FAudioDevice* InAudioDevice
)

Destructors

Name Description

Public function

~FSoundConcurrencyManager()

Functions

Name Description

Public function

FActiveSound...

 

CreateNewActiveSound

(
    const FActiveSound& NewActiveSound,
    bool bIsRetriggering
)

Returns a newly allocated active sound given the input active sound struct.

Public function

void

 

RemoveActiveSound

(
    FActiveSound& ActiveSound
)

Removes the active sound from concurrency tracking when active sound is stopped.

Public function

void

 

StopDueToVoiceStealing

(
    FActiveSound& ActiveSound
)

Stops sound, applying concurrency rules for how to stop.

Public function

void

 

UpdateSoundsToCull()

Culls any active sounds due to max concurrency sound resolution rule constraints being met

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss