Choose your operating system:
Windows
macOS
Linux
| IAudioSpatialization
|
Module |
|
Header |
/Engine/Source/Runtime/AudioExtensions/Public/IAudioExtensionPlugin.h |
Include |
#include "IAudioExtensionPlugin.h" |
class IAudioSpatialization
This class represents instances of a plugin that will process spatialization for a stream of audio. Currently used to process a mono-stream through an HRTF spatialization algorithm into a stereo stream. This algorithm contains an audio effect assigned to every VoiceId (playing sound instance). It assumes the effect is updated in the audio engine update loop with new position information.
Name | Description | |
---|---|---|
|
~IAudioSpatialization() |
Virtual destructor |
Name | Description | ||
---|---|---|---|
|
CreateSpatializationEffect ( |
Creates an audio spatialization effect. |
|
|
void * |
GetSpatializationEffect ( |
Returns the spatialization effect for the given voice id. |
|
GetSpatializationParameters ( |
DEPRECATED: Gets the spatialization effect parameters. |
|
|
Initialize ( |
Initializes the spatialization plugin with the given buffer length. |
|
|
InitializeSpatializationEffect ( |
DEPRECATED: Initializes the spatialization effect with the given buffer length. |
|
|
IsSpatializationEffectInitialized() |
Returns whether or not the spatialization effect has been initialized |
|
|
OnAllSourcesProcessed() |
Called when all sources have finished processing. |
|
|
OnDeviceShutdown ( |
||
|
OnInitSource ( |
Called when a source is assigned to a voice. |
|
|
OnReleaseSource ( |
Called when a source is done playing and is released. |
|
|
ProcessAudio ( |
Processes audio with the given input and output data structs. |
|
|
ProcessSpatializationForVoice ( |
DEPRECATED: Uses the given HRTF algorithm to spatialize a mono audio stream, assumes the parameters have already been set before processing. |
|
|
ProcessSpatializationForVoice |
DEPRECATED: Uses the given HRTF algorithm to spatialize a mono audio stream. |
|
|
SetSpatializationParameters ( |
DEPRECATED: sets the spatialization effect parameters. |
|
|
Shutdown() |
Shuts down the audio plugin. |