| IAudioMixerDeviceChangedLister
|
Module |
|
Header |
/Engine/Source/Runtime/NonRealtimeAudioRenderer/Public/AudioMixerPlatformNonRealtime.h |
Include |
#include "AudioMixerPlatformNonRealtime.h" |
class FMixerPlatformNonRealtime : public Audio::IAudioMixerPlatformInterface
Name | Description | |
---|---|---|
|
FMixerPlatformNonRealtime ( |
Name | Description | |
---|---|---|
|
~FMixerPlatformNonRealtime() |
Name | Description | ||
---|---|---|---|
|
CloseFile() |
||
|
OpenFileToWriteAudioTo ( |
||
|
RenderAudio ( |
Name | Description | ||
---|---|---|---|
|
CheckAudioDeviceChange() |
Check if audio device changed if applicable. Return true if audio device changed. |
|
|
CloseAudioStream() |
Closes the audio stream (if it's open). |
|
|
ICompressedA... |
CreateCompressedAudioInfo ( |
Creates a Compressed audio info class suitable for decompressing this SoundWave. |
|
DisablePCMAudioCaching() |
Whether or not the platform disables caching of decompressed PCM data (i.e. to save memory on fixed memory platforms) |
|
|
FadeIn() |
Reset the fade state (use if reusing audio platform interface, e.g. in main audio device. |
|
|
FadeOut() |
Start a fadeout. Prevents pops during shutdown. |
|
|
GetDefaultDeviceName() |
Return any optional device name defined in platform configuratio. |
|
|
GetDefaultOutputDeviceIndex ( |
Returns the default device index. |
|
|
GetNumOutputDevices ( |
Returns the number of output devices. |
|
|
GetOutputDeviceInfo ( |
Gets the device information of the given device index. |
|
|
EAudioMixerP... |
GetPlatformApi() |
Returns the platform API enumeration. |
|
FAudioPlatfo... |
GetPlatformDeviceInfo() |
Returns the platform device info of the currently open audio stream. |
|
FAudioPlatfo... |
GetPlatformSettings() |
Gets the platform specific audio settings. |
|
GetRuntimeFormat ( |
Returns the name of the format of the input sound wave. |
|
|
HasCompressedAudioInfoClass ( |
Checks if the platform has a compressed audio format for sound waves. |
|
|
InitializeHardware() |
Initialize the hardware. |
|
|
IsInitialized() |
Is the hardware initialized. |
|
|
IsNonRealtime() |
Whether this is an interface for a non-realtime renderer. |
|
|
MoveAudioStreamToNewAudioDevice ( |
Resets the audio stream to use a new audio device with the given device ID (empty string means default). |
|
|
OnHardwareUpdate() |
Function called at the beginning of every call of UpdateHardware on the audio thread. |
|
|
OpenAudioStream ( |
Opens up a new audio stream with the given parameters. |
|
|
ResumePlaybackOnNewDevice() |
Resumes playback on new audio device after device change. |
|
|
RunInternal() |
Wrapper around the thread Run. This is virtualized so a platform can fundamentally override the render function. |
|
|
StartAudioStream() |
Starts the audio stream processing and generating audio. |
|
|
StopAudioStream() |
Stops the audio stream (but keeps the audio stream open). |
|
|
SubmitBuffer ( |
Submit the given buffer to the platform's output audio device. |
|
|
SupportsRealtimeDecompression() |
Whether or not the platform supports realtime decompression. |
|
|
TeardownHardware() |
Teardown the hardware. |