IAudioMixerDeviceChangedListener

Abstract interface for receiving audio device changed notifications

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 IAudioMixerDeviceChangedListener

Remarks

Abstract interface for receiving audio device changed notifications

Functions

Name Description

Public function Virtual Const

FString

 

GetDeviceId()

Public function Virtual

void

 

OnDefaultCaptureDeviceChanged

(
    const EAudioDeviceRole InAudioDevic...,
    const FString& DeviceId
)

Public function Virtual

void

 

OnDefaultRenderDeviceChanged

(
    const EAudioDeviceRole InAudioDevic...,
    const FString& DeviceId
)

Public function Virtual

void

 

OnDeviceAdded

(
    const FString& DeviceId,
    bool bIsRenderDevice
)

Public function Virtual

void

 

OnDeviceRemoved

(
    const FString& DeviceId,
    bool bIsRenderDevice
)

Public function Virtual

void

 

OnDeviceStateChanged

(
    const FString& DeviceId,
    const EAudioDeviceState InState,
    bool bIsRenderDevice
)

Public function Virtual

void

 

OnFormatChanged

(
    const FString& InDeviceId,
    const FFormatChangedData& InFormat
)

Public function Virtual

void

 

OnSessionDisconnect

(
    EDisconnectReason InReason
)

Public function Virtual

void

 

RegisterDeviceChangedListener()

Public function Virtual

void

 

UnregisterDeviceChangedListener()

Classes

Name

Description

Public struct

FFormatChangedData

Enums

Name

Description

Public enum

EDisconnectReason