FMixerNullCallback

[FMixerNullCallback](API\Runtime\AudioMixerCore\FMixerNullCallback) This class, when started, spawns a new high priority thread that exists to query an FAudioMixerPlatformInterface and immediately throw out whatever buffers it receives.

Windows
MacOS
Linux

Inheritance Hierarchy

FRunnable

FMixerNullCallback

References

Module

AudioMixerCore

Header

/Engine/Source/Runtime/AudioMixerCore/Public/AudioMixerNullDevice.h

Include

#include "AudioMixerNullDevice.h"

Syntax

class FMixerNullCallback : protected FRunnable

Remarks

FMixerNullCallback This class, when started, spawns a new high priority thread that exists to query an FAudioMixerPlatformInterface and immediately throw out whatever buffers it receives.

Constructors

Name Description

Public function

FMixerNullCallback

(
    float BufferDuration,
    TFunction< void()> InCallback,
    EThreadPriority ThreadPriority
)

Constructing the FMixerNullCallback immediately begins calling InCallback every BufferDuration seconds.

Destructors

Name Description

Public function

~FMixerNullCallback()

The destructor waits on Callback to be completed before stopping the thread.

Overridden from FRunnable

Name Description

Public function Virtual

uint32

 

Run()

FRunnable override:

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