Navigation
API > API/Runtime > API/Runtime/NonRealtimeAudioRenderer
Inheritance Hierarchy
- IAudioMixerDeviceChangedListener
- IAudioMixerPlatformInterface
- FMixerPlatformNonRealtime
References
Module | NonRealtimeAudioRenderer |
Header | /Engine/Source/Runtime/NonRealtimeAudioRenderer/Public/AudioMixerPlatformNonRealtime.h |
Include | #include "AudioMixerPlatformNonRealtime.h" |
Syntax
class FMixerPlatformNonRealtime : public Audio::IAudioMixerPlatformInterface
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMixerPlatformNonRealtime
(
float InSampleRate, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CloseFile () |
|
![]() |
void | OpenFileToWriteAudioTo
(
const FString& OutPath |
|
![]() |
void | RenderAudio
(
double NumSecondsToRender |
Overridden from IAudioMixerPlatformInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Check if audio device changed if applicable. Return true if audio device changed. | |
![]() ![]() |
bool | Closes the audio stream (if it's open). | |
![]() ![]() ![]() |
bool | Whether or not the platform disables caching of decompressed PCM data (i.e. to save memory on fixed memory platforms) | |
![]() ![]() |
void | FadeIn () |
Reset the fade state (use if reusing audio platform interface, e.g. in main audio device. |
![]() ![]() |
void | FadeOut () |
Start a fadeout. Prevents pops during shutdown. |
![]() ![]() |
FString | Return any optional device name defined in platform configuratio. | |
![]() ![]() ![]() |
bool | GetDefaultOutputDeviceIndex
(
uint32& OutDefaultDeviceIndex |
Returns the default device index. |
![]() ![]() |
bool | GetNumOutputDevices
(
uint32& OutNumOutputDevices |
Returns the number of output devices. |
![]() ![]() |
bool | GetOutputDeviceInfo
(
const uint32 InDeviceIndex, |
Gets the device information of the given device index. |
![]() ![]() ![]() |
FString | Returns the platform API name. | |
![]() ![]() ![]() |
FAudioPlatformDeviceInfo | Returns the platform device info of the currently open audio stream. | |
![]() ![]() ![]() |
FAudioPlatformSettings | Gets the platform specific audio settings. | |
![]() ![]() |
bool | Initialize the hardware. | |
![]() ![]() ![]() |
bool | Is the hardware initialized. | |
![]() ![]() ![]() |
bool | Whether this is an interface for a non-realtime renderer. | |
![]() ![]() |
bool | MoveAudioStreamToNewAudioDevice
(
const FString& InNewDeviceId |
Resets the audio stream to use a new audio device with the given device ID (empty string means default). |
![]() ![]() |
void | Function called at the beginning of every call of UpdateHardware on the audio thread. | |
![]() ![]() |
bool | OpenAudioStream
(
const FAudioMixerOpenStreamParams& Params |
Opens up a new audio stream with the given parameters. |
![]() ![]() |
void | Resumes playback on new audio device after device change. | |
![]() ![]() |
uint32 | RunInternal () |
Wrapper around the thread Run. This is virtualized so a platform can fundamentally override the render function. |
![]() ![]() |
bool | Starts the audio stream processing and generating audio. | |
![]() ![]() |
bool | Stops the audio stream (but keeps the audio stream open). | |
![]() ![]() |
void | SubmitBuffer
(
const uint8* Buffer |
Submit the given buffer to the platform's output audio device. |
![]() ![]() |
bool | Teardown the hardware. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
ICompressedAudioInfo * | CreateCompressedAudioInfo
(
const FName& InRuntimeFormat |
CreateCompressedAudioInfo is now deprecated. Please use IAudioInfoFactory::Create() |
![]() ![]() ![]() |
FName | GetRuntimeFormat
(
const USoundWave* InSoundWave |
GetRuntimeFormat is now deprecated. Please use USoundWave::GetRuntimeFormat() |