Module |
|
Header |
/Engine/Source/Runtime/AudioMixer/Public/AudioMixerSubmix.h |
Include |
#include "AudioMixerSubmix.h" |
class FMixerSubmix
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bIsBackgroundMuted |
Whether or not this submix is muted. |
|
bIsEnvelopeFollowing |
Bool set to true when envelope following is enabled. |
|
|
uint8: 1 |
bIsRecording |
Bool set to true when this submix is recording data. |
|
bIsSpectrumAnalyzing |
Bool set to true when spectrum analysis is enabled. |
|
|
BufferListenerCriticalSection |
Critical section used for modifying and interacting with buffer listeners. |
|
|
BufferListeners |
List of submix buffer listeners. |
|
|
ChildSubmixes |
Child submixes. |
|
|
CommandQueue |
Submix command queue to shuffle commands from audio thread to audio render thread. |
|
|
float |
CurrentDryLevel |
|
|
float |
CurrentOutputVolume |
|
|
float |
CurrentWetLevel |
|
|
DownmixedBuffer |
||
|
DryChannelBuffer |
The dry channel buffer. |
|
|
EffectChainMutationCriticalSection |
Critical section for mutation of the effect chain. |
|
|
EffectChainOutputBuffer |
||
|
EffectChains |
The array of submix effect overrides. There may be more than one if multiple are fading out. There should be only one fading in (the current override). |
|
|
EndpointData |
||
|
EnvelopeCriticalSection |
||
|
EnvelopeFollowers |
||
|
EnvelopeNumChannels |
||
|
float[8] |
EnvelopeValues |
Envelope following data. |
|
Id |
This mixer submix's Id. |
|
|
InputBuffer |
||
|
FMixerDevice &#... |
MixerDevice |
Owning mixer device. |
|
TMap< FMixerSou... |
MixerSourceVoices |
Map of mixer source voices with a given send level for this submix. |
|
MonoMixBuffer |
This buffer is used to downmix the submix output to mono before submitting it to the SpectrumAnalyzer. |
|
|
NumChannels |
||
|
NumSamples |
||
|
NumSubmixEffects |
Returns the number of submix effects. |
|
|
OnSubmixEnvelope |
Multi-cast delegate to broadcast envelope data from this submix instance. |
|
|
TWeakObjectPtr<... |
OwningSubmixObject |
Handle back to the owning USoundSubmix. Used when the device is shutdown to prematurely end a recording. |
|
ParentSubmix |
Parent submix. |
|
|
PatchSplitter |
||
|
RecordingCriticalSection |
Critical section used for when we are appending recorded data. |
|
|
RecordingData |
This buffer is used for recorded output of the submix. |
|
|
ScratchBuffer |
||
|
SoundfieldStreams |
||
|
SourceInputBuffer |
||
|
SpectralAnalysisDelegates |
||
|
TSharedPtr< FAs... |
SpectrumAnalyzer |
|
|
SpectrumAnalyzerCriticalSection |
Spectrum analyzer. Created and destroyed on the audio thread. |
|
|
SpectrumAnalyzerSettings |
||
|
SubmixChainMixBuffer |
||
|
float |
TargetDryLevel |
|
|
float |
TargetOutputVolume |
|
|
float |
TargetWetLevel |
Name | Description | |
---|---|---|
|
FMixerSubmix ( |
Name | Description | |
---|---|---|
|
~FMixerSubmix() |
Name | Description | ||
---|---|---|---|
|
AddChildSubmix ( |
Adds the given submix to this submix's children. |
|
|
AddEnvelopeFollowerDelegate ( |
Adds an envelope follower delegate. |
|
|
AddOrSetSourceVoice ( |
Add (if not already added) or sets the amount of the source voice's send amount. |
|
|
FPatchOutput... |
AddPatch ( |
|
|
AddSoundEffectSubmix ( |
Appends the effect submix to the effect submix chain. |
|
|
AddSpectralAnalysisDelegate ( |
Adds an spectral analysis delegate. |
|
|
BroadcastDelegates() |
Broadcast the envelope and submix delegates on the game thread. |
|
|
ClearSoundEffectSubmixes() |
Clears all submix effects from the effect submix chain. |
|
|
ClearSubmixEffectChainOverride ( |
Clears any submix effect chain overrides in the given fade time in seconds. |
|
|
DownmixBuffer ( |
Down mix the given buffer to the desired down mix channel count. |
|
|
GenerateEffectChainAudio ( |
Generates audio from the given effect chain into the given buffer. |
|
|
FSoundfieldS... |
GetDefaultPositionalDataForAudioDevice() |
|
|
GetId() |
Returns the mixer submix Id. |
|
|
FAudioPlugin... |
GetInitializationParamsForSoundfieldStream() |
|
|
FSoundfieldE... |
GetKeyForSubmixEncoding() |
Get a unique key for this submix's format and settings. |
|
GetMagnitudeForFrequencies |
Gets the most recent magnitude values for each corresponding value in InFrequencies (in Hz). |
|
|
GetNumChainEffects() |
Returns the number of effects in this submix's effect chain. |
|
|
GetNumEffects() |
Returns the number of wet effects in this submix. |
|
|
GetNumOutputChannels() |
Returns the output channels this submix is rendering to. |
|
|
GetNumSourceVoices() |
Returns the number of source voices currently a part of this submix. |
|
|
GetParentSubmix() |
Gets this submix's parent submix. |
|
|
GetPhaseForFrequencies |
Gets the most recent phase values for each corresponding value in InFrequencies (in Hz). |
|
|
GetSampleRate() |
Returns the device sample rate this submix is rendering to. |
|
|
GetSizeOfSubmixChain() |
Returns the size of the submix chain. |
|
|
ISoundfieldF... |
GetSoundfieldFactory() |
|
|
GetSoundfieldFormat() |
||
|
ISoundfieldE... |
GetSoundfieldSettings() |
|
|
GetSubmixChannels() |
Gets the submix channels channels. |
|
|
FSoundEffect... |
GetSubmixEffect ( |
Returns the submix effect at the given effect chain index. |
|
TUniquePtr< ... |
GetTranscoderForChildSubmix ( |
|
|
Init ( |
Initialize the submix object with the USoundSubmix ptr. Sets up child and parent connects. |
|
|
InitInternal() |
Initialize the submix internal. |
|
|
IsDefaultEndpointSubmix() |
Returns true if this submix sends it's audio to the default endpoint. |
|
|
IsExternalEndpointSubmix() |
Returns true if this submix sends its audio to an IAudioEndpoint. |
|
|
IsSoundfieldEndpointSubmix() |
Returns true if this submix sends its audio to an ISoundfieldEndpoint. |
|
|
IsSoundfieldSubmix() |
Returns true if this submix is encoded to a soundfield. |
|
|
IsValid() |
Checks to see if submix is valid. |
|
|
MixBufferDownToMono ( |
||
|
MixInChildSubmix ( |
Calls ProcessAudio on the child submix, performs all neccessary conversions and mixes in it's resulting audio. |
|
|
MixInSource ( |
Encode a source and sum it into the mixed soundfield. |
|
|
OnStartRecordingOutput ( |
This is called by the corresponding USoundSubmix when StartRecordingOutput is called. |
|
|
AlignedFloat... |
OnStopRecordingOutput ( |
This is called by the corresponding USoundSubmix when StopRecordingOutput is called. |
|
PauseRecordingOutput() |
This is called by the corresponding USoundSubmix when PauseRecording is called. |
|
|
ProcessAudio ( |
Function which processes audio. |
|
|
ProcessAudio ( |
Function which processes audio. |
|
|
ProcessAudioAndSendToEndpoint() |
This should be called if this submix doesn't send it's audio to a parent submix, but rather an external endpoint. |
|
|
PumpCommandQueue() |
Pump command queue. |
|
|
RegisterBufferListener ( |
Register buffer listener with this submix. |
|
|
RemoveChildSubmix ( |
Removes the given submix from this submix's children. |
|
|
RemoveSoundEffectSubmix ( |
Removes the submix effect from the effect submix chain. |
|
|
RemoveSoundEffectSubmixAtIndex ( |
Removes the submix effect from the effect submix chain at the given submix index. |
|
|
RemoveSourceVoice ( |
Removes the given source voice from the submix. |
|
|
RemoveSpectralAnalysisDelegate ( |
Removes an existing spectral analysis delegate. |
|
|
ReplaceSoundEffectSubmix ( |
Swaps effect for provided submix at the given index. Fails if effect at index doesn't exist |
|
|
ResumeRecordingOutput() |
This is called by the corresponding USoundSubmix when ResumeRecording is called. |
|
|
SetBackgroundMuted ( |
Whether or not this submix instance is muted. |
|
|
SetDryLevel ( |
Sets the static output volume of the submix. |
|
|
SetOutputVolume ( |
Sets the output level of the submix. |
|
|
SetParentSubmix ( |
Sets the parent submix to the given submix. |
|
|
SetSoundfieldFactory ( |
This must be called on the entire submix graph before calling SetupSoundfieldStreams. |
|
|
SetSubmixEffectChainOverride ( |
Sets a submix effect chain override with the given fade time in seconds. |
|
|
SetupEndpoint ( |
||
|
SetupEndpoint ( |
||
|
SetupSoundfieldEncodersForChildren() |
||
|
SetupSoundfieldEncodingForChild ( |
||
|
SetUpSoundfieldPositionalData ( |
This sets up the ambisonics positional data for speakers, based on what new format we need to convert to. |
|
|
SetupSoundfieldStreamForParent() |
Check to see if we need to decode from ambisonics for parent. |
|
|
SetupSoundfieldStreams ( |
Updates settings, potentially creating or removing ambisonics streams based on what types of submixes this submix is connected to. |
|
|
SetWetLevel ( |
Sets the wet level of the submix. |
|
|
StartEnvelopeFollowing |
Starts envelope following with the given attack time and release time. |
|
|
StartSpectrumAnalysis ( |
Initializes a new FFT analyzer for this submix and immediately begins feeding audio to it. |
|
|
StopEnvelopeFollowing() |
Stops envelope following the submix. |
|
|
StopSpectrumAnalysis() |
Terminates whatever FFT Analyzer is being used for this submix. |
|
|
SubmixCommand |
Add command to the command queue. |
|
|
TeardownSoundfieldStreams() |
||
|
UnregisterBufferListener ( |
Unregister buffer listener with this submix. |
|
|
UpdateEndpointSettings |
||
|
UpdateEndpointSettings |
||
|
UpdateListenerRotation ( |
Name |
Description |
|
---|---|---|
|
FEndpointData |
|
|
FSoundfieldEffectProcessorData |
Individual processor in our |
|
FSoundfieldStreams |
|
|
FSpectralAnalysisBandInfo |
|
|
FSpectrumAnalysisDelegateInfo |
|
|
FSubmixEffectFadeInfo |