FAudioDeviceHandle

Strong handle to an audio device. Guarantees that the audio device it references will stay alive while it is in scope.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "AudioDeviceManager.h"

Syntax

class FAudioDeviceHandle

Remarks

Strong handle to an audio device. Guarantees that the audio device it references will stay alive while it is in scope.

Constructors

Name Description

Public function

FAudioDeviceHandle()

Public function

FAudioDeviceHandle

(
    const FAudioDeviceHandle& Other
)

Public function

FAudioDeviceHandle

(
    FAudioDeviceHandle&& Other
)

Destructors

Name Description

Public function

~FAudioDeviceHandle()

Functions

Name Description

Public function Const

FAudioDevice...

 

GetAudioDevice()

Gets a pointer to the audio device.

Public function Const

Audio::FDevi...

 

GetDeviceID()

Returns the device ID for the audio device referenced by this handle.

Public function Const

TWeakObjectP...

 

GetWorld()

Returns world set when handle was created.

Public function Const

bool

 

IsValid()

Checks whether this points to a valid compressed chunk.

Public function

void

 

Reset()

Resets handle to invalid state.

Operators

Name Description

Public function Const

 

operator Audio::FDeviceId()

Public function Const

 

operator bool()

Public function Const

 

operator FAudioDevice *()

Public function

FAudioDevice...

 

operator*()

Public function Const

const FAudio...

 

operator*()

These are convenience operators to use an FAudioDeviceHandle like an FAudioDevice* or an Audio::FDeviceId.

Public function

FAudioDevice...

 

operator=

(
    const FAudioDeviceHandle& Other
)

Public function

FAudioDevice...

 

operator=

(
    FAudioDeviceHandle&& Other
)

Public function Const

bool

 

operator==

(
    const FAudioDeviceHandle& Other
)

Public function Const

bool

 

operator==

(
    const FAudioDevice*& Other
)

Public function Const

bool

 

operator==

(
    FAudioDevice*& Other
)

Public function Const

bool

 

operator==

(
    const Audio::FDeviceId& Other
)

Public function Const

const FAudio...

 

operator->()

Public function

FAudioDevice...

 

operator->()

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