Navigation
Unreal Engine C++ API Reference > Runtime > AudioExtensions
References
Module | AudioExtensions |
Header | /Engine/Source/Runtime/AudioExtensions/Public/IAudioExtensionPlugin.h |
Include | #include "IAudioExtensionPlugin.h" |
Syntax
class IAudioPluginListener
Remarks
IAudioPluginListener Implementations of this interface can receive updates about the audio listener's position in the game world, as well as other data. to use this, register a ListenerObserver to an audio device using FAudioDevice::RegisterPluginListener().
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnDeviceShutdown
(
FAudioDevice* AudioDevice |
|
![]() ![]() |
void | OnListenerInitialize
(
FAudioDevice* AudioDevice, |
This function is called when a game world initializes a listener with an audio device this IAudioPluginListener is registered to. |
![]() ![]() |
void | OnListenerShutdown
(
FAudioDevice* AudioDevice |
Called when the listener is shutdown. |
![]() ![]() |
void | OnListenerUpdated
(
FAudioDevice* AudioDevice, |
Called when the listener is updated on the given audio device. |
![]() ![]() |
void | This is overridable for any actions a plugin manager may need to do on the game thread. | |
![]() ![]() |
void | OnWorldChanged
(
FAudioDevice* AudioDevice, |
This is overridable for any actions a plugin manager may need to do on a level change. |