Choose your operating system:
Windows
macOS
Linux
| IAudioMixer
|
Module |
|
Header |
/Engine/Source/Runtime/AudioMixer/Public/AudioMixerDevice.h |
Include |
#include "AudioMixerDevice.h" |
class FMixerDevice :
public FAudioDevice,
public Audio::IAudioMixer,
public FGCObject
Name | Description | ||
---|---|---|---|
|
ListenerTransforms |
||
|
QuantizedEventClockManager |
Clock Manager for quantized event handling on Audio Render Thread. |
Name | Description | |
---|---|---|
|
FMixerDevice ( |
Name | Description | |
---|---|---|
|
~FMixerDevice() |
Name | Description | ||
---|---|---|---|
|
AddMasterSubmixEffect ( |
Add submix effect to master submix. |
|
|
FPatchOutput... |
AddPatchForAudioBus ( |
|
|
FPatchOutput... |
AddPatchForAudioBus_GameThread ( |
|
|
AddSubmixEffect ( |
Add submix effect to given submix. |
|
|
AudioRenderThreadCommand |
Pushes the command to a audio render thread command queue to be executed on render thread. |
|
|
CheckAudioRenderingThread() |
||
|
CheckAudioThread() |
Functions which check the thread it's called on and helps make sure functions are called from correct threads. |
|
|
ClearMasterSubmixEffects() |
Clear all submix effects from master submix. |
|
|
ClearSubmixEffects ( |
Clear all submix effects from given submix. |
|
|
FMixerSubmix... |
FindSubmixInstanceByObjectId ( |
|
|
Get2DChannelMap ( |
Builds a channel gain matrix for a non-spatialized source. The non-static variation of this function queries AudioMixerDevice->NumOutputChannels directly which may not be thread safe. |
|
|
Get2DChannelMap ( |
Builds a channel gain matrix for a non-spatialized source. The non-static variation of this function queries AudioMixerDevice->NumOutputChannels directly which may not be thread safe. |
|
|
Get3DChannelMap ( |
Builds a 3D channel map for a spatialized source. |
|
|
double |
GetAudioClockDelta() |
|
|
IAudioMixerP... |
GetAudioMixerPlatform() |
Retrieve a pointer to the currently active platform. Only use this if you know what you are doing. The returned IAudioMixerPlatformInterface will only be alive as long as this FMixerDevice is alive. |
|
double |
GetAudioRenderThreadTime() |
|
|
double |
GetAudioThreadTime() |
Audio thread tick timing relative to audio render thread timing. |
|
FMixerSubmix... |
GetBaseDefaultSubmix() |
|
|
const TArray... |
GetChannelArray() |
Returns the channel array for the given submix channel type. |
|
const FChann... |
GetDefaultChannelPositions() |
Retrieves spherical locations of channels for a given submix format. |
|
GetDefaultPositionMap ( |
||
|
GetDeviceOutputChannels() |
||
|
GetDeviceSampleRate() |
||
|
ISoundfieldF... |
GetFactoryForSubmixInstance ( |
If SoundSubmix is a soundfield submix, this will return the factory used to encode source audio to it's soundfield format. |
|
ISoundfieldF... |
GetFactoryForSubmixInstance ( |
If SoundSubmix is a soundfield submix, this will return the factory used to encode source audio to it's soundfield format. |
|
const TArray... |
GetListenerTransforms() |
Retrieves the listener transforms. |
|
FMixerSubmix... |
GetMasterEQSubmix() |
|
|
FMixerSubmix... |
GetMasterReverbSubmix() |
|
|
FMixerSubmix... |
GetMasterSubmix() |
|
|
FMixerSource... |
GetMixerSourceVoice() |
Public Functions. |
|
EMonoChannel... |
GetMonoChannelUpmixMethod() |
|
|
GetNumDeviceChannels() |
||
|
GetNumOutputFrames() |
||
|
GetNumSources() |
||
|
const FAudio... |
GetPlatformDeviceInfo() |
|
|
FMixerSource... |
GetSourceManager() |
|
|
FMixerSubmix... |
GetSubmixInstance ( |
|
|
IsAudioBusActive ( |
||
|
IsAudioRenderingThread() |
||
|
IsEndpointSubmix ( |
||
|
PauseRecording ( |
||
|
ReleaseMixerSourceVoice ( |
||
|
RemoveMasterSubmixEffect ( |
Remove submix effect from master submix. |
|
|
RemoveSubmixEffect ( |
Remove submix effect to given submix. |
|
|
RemoveSubmixEffectAtIndex ( |
Remove submix effect at the given submix chain index. |
|
|
ReplaceSoundEffectSubmix ( |
Replace the submix effect of the given submix at the submix chain index with the new submix effect id and submix instance. |
|
|
ResumeRecording ( |
||
|
StartAudioBus |
Audio bus API. |
|
|
StopAudioBus ( |
Name | Description | ||
---|---|---|---|
|
AddEnvelopeFollowerDelegate ( |
Adds an envelope follower delegate to the submix for this audio device. |
|
|
FPatchOutput... |
AddPatchForSubmix ( |
|
|
AddSpectralAnalysisDelegate ( |
||
|
ClearSubmixEffectChainOverride ( |
Clears all submix effect chain overrides from the submix. |
|
|
CountBytes ( |
Counts the bytes for the structures used in this class |
|
|
ICompressedA... |
CreateCompressedAudioInfo ( |
Creates a Compressed audio info class suitable for decompressing this SoundWave |
|
ICompressedA... |
CreateCompressedAudioInfo ( |
|
|
FAudioEffect... |
CreateEffectsManager() |
Creates a new platform specific sound source |
|
FSoundSource... |
CreateSoundSource() |
Creates a new platform specific sound source |
|
DisablePCMAudioCaching() |
Whether or not the platform disables caching of decompressed PCM data (i.e. to save memory on fixed memory platforms |
|
|
EnableDebugAudioOutput() |
Enables the audio device to output debug audio to test audio device output. |
|
|
FadeIn() |
||
|
FadeOut() |
Optional fadeout and fade in of audio to avoid clicks when closing or opening/reusing audio device. |
|
|
FlushAudioRenderingCommands ( |
Allows audio rendering command queue to flush during audio device flush. |
|
|
FlushExtended |
Derived classes can override this method to do their own cleanup. |
|
|
GetAudioDeviceList |
Returns an array of available audio devices names for the platform |
|
|
double |
GetAudioTime() |
Return the audio stream time |
|
GetCurrentSourceEffectChain ( |
Returns the current source effect chain entries set dynamically from BP or elsewhere. |
|
|
GetMagnitudesForFrequencies ( |
||
|
GetNumActiveSources() |
Returns the number of active sound sources |
|
|
GetPhasesForFrequencies ( |
||
|
FAudioPlatfo... |
GetPlatformSettings() |
Allow platforms to optionally specify low-level audio platform settings. |
|
GetRuntimeFormat ( |
||
|
HasCompressedAudioInfoClass ( |
Whether this SoundWave has an associated info class to decompress it |
|
|
InitDefaultAudioBuses() |
Initialized audio buses marked as default that are to be enabled for the duration of the application. |
|
|
InitializeHardware() |
Starts up any platform specific hardware/APIs |
|
|
InitSoundEffectPresets() |
||
|
InitSoundSubmixes() |
Initializes sound submixes. |
|
|
IsExernalBackgroundSoundActive() |
Check if any background music or sound is playing through the audio device |
|
|
IsNonRealtime() |
Audio Device Properties. |
|
|
OnListenerUpdated |
This is overridden in Audio::FMixerDevice to propogate listener information to the audio thread. |
|
|
RegisterSoundSubmix ( |
Registers the sound submix |
|
|
RegisterSubmixBufferListener ( |
Submix buffer listener callbacks. |
|
|
RemoveSpectralAnalysisDelegate ( |
||
|
ResumeContext() |
Resume any context related objects |
|
|
SetSubmixAutoDisable ( |
Submix auto-disable setteings. |
|
|
SetSubmixAutoDisableTime ( |
Set what the auto-disable time is. |
|
|
SetSubmixDryLevel ( |
Set the wet-dry level of the given submix |
|
|
SetSubmixEffectChainOverride ( |
Submix effect chain override settings. |
|
|
SetSubmixModulationBaseLevels ( |
||
|
SetSubmixOutputVolume ( |
Set the wet-dry level of the given submix |
|
|
SetSubmixWetDryLevel ( |
Set the wet-dry level of the given submix |
|
|
SetSubmixWetLevel ( |
Set the wet-dry level of the given submix |
|
|
ShutdownDefaultAudioBuses() |
Shutdown all audio buses marked as default. |
|
|
StartEnvelopeFollowing ( |
Submix envelope following. |
|
|
StartRecording ( |
Submix recording callbacks: |
|
|
StartSpectrumAnalysis ( |
Submix Spectrum Analysis. |
|
|
StopEnvelopeFollowing ( |
This is called by a USoundSubmix when we stop envelope following a submix instance on this device. |
|
|
Audio::FAlig... |
StopRecording ( |
This is called by a USoundSubmix when we stop recording a submix on this device. |
|
StopSpectrumAnalysis ( |
||
|
SupportsRealtimeDecompression() |
Whether this device supports realtime decompression of sound waves (i.e. DTYPE_RealTime) |
|
|
SuspendContext() |
Suspend any context related objects |
|
|
TeardownHardware() |
Shuts down any platform specific hardware/APIs |
|
|
UnregisterSoundSubmix ( |
Unregisters the sound submix |
|
|
UnregisterSubmixBufferListener ( |
Unregisters the submix buffer listener with the given submix. |
|
|
UpdateDeviceDeltaTime() |
Sets the update delta time for the audio frame |
|
|
UpdateGameThread() |
Update called on game thread. |
|
|
UpdateHardware() |
Lets the platform any tick actions |
|
|
UpdateHardwareTiming() |
Updates timing information for hardware. |
|
|
UpdateSourceEffectChain ( |
Updates the source effect chain (using unique object id). |
|
|
UpdateSubmixModulationSettings ( |
Submix Modulation Settings. |
|
|
UpdateSubmixProperties ( |
Submix dry/wet settings. |
|
|
ValidateAPICall |
Check for errors and output a human readable string |
Name | Description | ||
---|---|---|---|
|
Exec ( |
Exec handler |
Name | Description | ||
---|---|---|---|
|
OnAudioStreamShutdown() |
Called when audio render thread stream is shutting down. |
|
|
OnProcessAudioStream ( |
Callback to generate a new audio stream buffer. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |