![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AudioMixer.h>
Inheritance diagram for Audio::FAudioMixerPlatformSwappable:Audio mixer platform objects can subclass this in order to add device swap capabilities.
| Audio::FAudioMixerPlatformSwappable::FAudioMixerPlatformSwappable | ( | ) |
|
overridevirtualdefault |
Called to determine if the current device swap request should be allowed to proceed.
|
overridevirtual |
Check if audio device changed if applicable. Return true if audio device changed.
Reimplemented from Audio::IAudioMixerPlatformInterface.
Reimplemented in Audio::FMixerPlatformXAudio2.
|
virtual |
Called repeatedly to update an active, async device swap
Reimplemented in Audio::FAudioMixerWasapi, and Audio::FMixerPlatformXAudio2.
Kicks of an async device swap task
Implemented in Audio::FAudioMixerWasapi, and Audio::FMixerPlatformXAudio2.
|
inlineprotected |
|
inlineprotected |
The results produced from a device swap operation. The containing future retains memory ownership. Will be valid until PostDeviceSwap returns.
|
inlineprotected |
Used in OnDeviceAdded for determining if an added device is the same as the original device.
|
pure virtual |
Initializes a new device swap context with the given parameters
Implemented in Audio::FAudioMixerWasapi, and Audio::FMixerPlatformXAudio2.
|
overridevirtual |
Reimplemented from Audio::IAudioMixerPlatformInterface.
Reimplemented in Audio::FMixerPlatformXAudio2.
Called after a device swap completes, providing an opportunity for any needed cleanup
Reimplemented in Audio::FAudioMixerWasapi, and Audio::FMixerPlatformXAudio2.
Called at the beginning of a device swap to perform any needed initialization
Reimplemented in Audio::FAudioMixerWasapi, and Audio::FMixerPlatformXAudio2.
|
overridevirtual |
Sends a command to swap which output device is being used
Reimplemented from Audio::IAudioMixerPlatformInterface.
|
inlineprotected |
|
overridevirtual |
Resumes playback on new audio device after device change.
Reimplemented from Audio::IAudioMixerPlatformInterface.
|
inlineprotected |
Future which holds result of device swap upon completion.
|
inlineprotected |
Performs a device swap synchronously in the current thread
Implemented in Audio::FAudioMixerWasapi, and Audio::FMixerPlatformXAudio2.