UAudioMixerBlueprintLibrary::SwapAudioOutputDevice

Hotswaps to the requested audio output device

Choose your operating system:

Windows

macOS

Linux

References

Module

AudioMixer

Header

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

Include

#include "AudioMixerBlueprintLibrary.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/AudioMixerBlueprintLibrary.cpp

Syntax

static void SwapAudioOutputDevice
(
    const UObject * WorldContextObject,
    const FString & NewDeviceId,
    const FOnCompletedDeviceSwap & OnCompletedDeviceSwap
)

Remarks

Hotswaps to the requested audio output device

Parameters

Parameter

Description

NewDeviceId

the device Id to swap to

OnCompletedDeviceSwap

the event to fire when the audio endpoint devices have been retrieved