Navigation
API > API/Runtime > API/Runtime/AudioExtensions
Inheritance Hierarchy
- IModularFeature
- ISoundfieldFactory
- ISoundfieldEndpointFactory
References
| Module | AudioExtensions |
| Header | /Engine/Source/Runtime/AudioExtensions/Public/ISoundfieldFormat.h |
| Include | #include "ISoundfieldFormat.h" |
Syntax
class ISoundfieldFactory : public IModularFeature
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanTranscodeFromSoundfieldFormat
(
FName SourceFormat, |
Override this function to decide whether this soundfield format can read and convert from a source format. | |
| bool | CanTranscodeToSoundfieldFormat
(
FName DestinationFormat, |
||
| TUniquePtr< ISoundfieldDecoderStream > | CreateDecoderStream
(
const FAudioPluginInitializationParams& InitInfo, |
||
| TUniquePtr< ISoundfieldAudioPacket > | |||
| TUniquePtr< ISoundfieldEncoderStream > | CreateEncoderStream
(
const FAudioPluginInitializationParams& InitInfo, |
Called when a stream is opened. | |
| TUniquePtr< ISoundfieldMixerStream > | CreateMixerStream
(
const ISoundfieldEncodingSettingsProxy& InitialSettings |
||
| TUniquePtr< ISoundfieldTranscodeStream > | CreateTranscoderStream
(
const FName SourceFormat, |
Transcoder streams are fed a soundfield audio packet with either a different format entirely, or the same format and different settings. | |
| ISoundfieldFactory * | Get a registered soundfield format factory by name. | ||
| TArray< FName > | |||
| UClass * | Should return the StaticClass of your implementation of USoundfieldEncodingSettingsBase. | ||
| const USoundfieldEncodingSettingsBase * | |||
| FName | When a submix has this format name, it derives its format from the submix it sends audio to. | ||
| FName | When a submix has this format name, it is using interleaved, floating point audio with no metadata. | ||
| FName | This is the FName used to register Soundfield Format factories with the modular feature system. | ||
| FName | Get soundfield format name | ||
| bool | This is overridden to return true for soundfield formats that are only used for sending audio externally. | ||
| bool | IsTranscodeRequiredBetweenSettings
(
const ISoundfieldEncodingSettingsProxy& SourceSettings, |
Override this function to determine whether an incoming ISoundfieldPacket would need to be explicitly operated on between two submixes with the same format, but potentially different encoding settings. | |
| void | RegisterSoundfieldFormat
(
ISoundfieldFactory* InFactory |
This needs to be called to make a soundfield format usable by the engine. | |
| bool | ShouldEncodeAllStreamsIndependently
(
const ISoundfieldEncodingSettingsProxy& EncodingSettings |
If this is overridden to true, we will set up a separate encoding stream for every submix plugged into this soundfield submix. | |
| void | UnregisterSoundfieldFormat
(
ISoundfieldFactory* InFactory |
This needs to be called it an implementation of ISoundfieldFactory is about to be destroyed. |