UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AudioDeviceNotificationSubsystem.h File Reference
#include "Subsystems/EngineSubsystem.h"
#include "Engine/Engine.h"
#include "AudioMixer.h"
#include "Delegates/Delegate.h"
#include "AudioDeviceNotificationSubsystem.generated.h"

Go to the source code of this file.

Classes

class  UAudioDeviceNotificationSubsystem
 

Enumerations

enum class  EAudioDeviceChangedRole : uint8 {
  Invalid , Console , Multimedia , Communications ,
  UMETA =(Hidden)
}
 
enum class  EAudioDeviceChangedState : uint8 {
  Invalid , Active , Disabled , NotPresent ,
  Unplugged , UMETA =(Hidden)
}
 

Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnAudioDefaultDeviceChanged, EAudioDeviceChangedRole, AudioDeviceRole, FString, DeviceId)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnAudioDeviceStateChanged, FString, DeviceId, EAudioDeviceChangedState, NewState)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FOnAudioDeviceChange, FString, DeviceId)
 
 DECLARE_MULTICAST_DELEGATE_TwoParams (FOnAudioDefaultDeviceChangedNative, EAudioDeviceChangedRole, FString)
 
 DECLARE_MULTICAST_DELEGATE_TwoParams (FOnAudioDeviceStateChangedNative, FString, EAudioDeviceChangedState)
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FOnAudioDeviceChangeNative, FString)
 

Enumeration Type Documentation

◆ EAudioDeviceChangedRole

EAudioDeviceChangedRole

Enumerator
Invalid 
Console 
Multimedia 
Communications 
UMETA 

◆ EAudioDeviceChangedState

EAudioDeviceChangedState

Enumerator
Invalid 
Active 
Disabled 
NotPresent 
Unplugged 
UMETA 

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FOnAudioDeviceChange  ,
FString  ,
DeviceId   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnAudioDefaultDeviceChanged  ,
EAudioDeviceChangedRole  ,
AudioDeviceRole  ,
FString  ,
DeviceId   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnAudioDeviceStateChanged  ,
FString  ,
DeviceId  ,
EAudioDeviceChangedState  ,
NewState   
)

◆ DECLARE_MULTICAST_DELEGATE_OneParam()

DECLARE_MULTICAST_DELEGATE_OneParam ( FOnAudioDeviceChangeNative  ,
FString   
)

◆ DECLARE_MULTICAST_DELEGATE_TwoParams() [1/2]

DECLARE_MULTICAST_DELEGATE_TwoParams ( FOnAudioDefaultDeviceChangedNative  ,
EAudioDeviceChangedRole  ,
FString   
)

◆ DECLARE_MULTICAST_DELEGATE_TwoParams() [2/2]

DECLARE_MULTICAST_DELEGATE_TwoParams ( FOnAudioDeviceStateChangedNative  ,
FString  ,
EAudioDeviceChangedState   
)