FAudioDeviceManager::GetAudioDevice

Returns a strong handle to the audio device associated with the given device ID.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDeviceManager.h

Include

#include "AudioDeviceManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioDeviceManager.cpp

Syntax

FAudioDeviceHandle GetAudioDevice
(
    Audio::FDeviceId DeviceID
)

Remarks

Returns a strong handle to the audio device associated with the given device ID. if the device ID is invalid we return an invalid, zeroed handle.

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