IAudioMixer

Platform independent audio mixer interface.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioMixerCore

Header

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

Include

#include "AudioMixer.h"

Syntax

class IAudioMixer

Remarks

Platform independent audio mixer interface.

Variables

Name Description

Protected variable

bool

 

bIsMainAudioMixer

Constructors

Name Description

Protected function

IAudioMixer()

Functions

Name Description

Public function Const

bool

 

IsMainAudioMixer()

Public function

void

 

OnAudioStreamShutdown()

Called when audio render thread stream is shutting down.

Public function

bool

 

OnProcessAudioStream

(
    FAlignedFloatBuffer& OutputBuffer
)

Callback to generate a new audio stream buffer.

Public function Static

bool

 

ShouldIgnoreDeviceSwaps()

Called by FWindowsMMNotificationClient to bypass notifications for audio device changes:

Public function Static

bool

 

ShouldLogDeviceSwaps()

Called by FWindowsMMNotificationClient to toggle logging for audio device changes:

Public function Static

bool

 

ShouldRecycleThreads()

Called by AudioMixer to see if it should reycle the threads:

Public function Static

bool

 

ShouldUseDeviceInfoCache()

Called by AudioMixer if it should use Cache for DeviceInfo Enumeration

Public function Static

bool

 

ShouldUseThreadedDeviceSwap()

Called by AudioMixer to see if we should do a multithreaded device swap