Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- IStreamingManager
- IAudioStreamingManager
- FLegacyAudioStreamingManager
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioStreaming.h |
Include | #include "AudioStreaming.h" |
Syntax
struct FLegacyAudioStreamingManager : public IAudioStreamingManager
Remarks
Streaming manager dealing with audio.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FASyncAudioChunkLoadResult * > | AsyncAudioStreamChunkResults | Results of async loading audio chunks. |
![]() |
FCriticalSection | ChunkResultCriticalSection | |
![]() |
TArray< ICompressedAudioInfo * > | CompressedAudioInfos | Compressed audio info objects which are used to avoid deleting chunks with in-fligth decodes. |
![]() |
FCriticalSection | CriticalSection | Critical section to protect usage of shared gamethread/audiothread members |
![]() |
TArray< FSoundSource * > | StreamingSoundSources | Sound Sources being managed. |
![]() |
TMap< FObjectKey, FStreamingWaveData * > | StreamingSoundWaves | Sound Waves being managed. |
![]() |
TMap< FObjectKey, FWaveRequest > | WaveRequests | Map of requests to make next time sound waves are ready |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor, initializing all members |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FWaveRequest & | GetWaveRequest
(
FObjectKey Key |
Gets Wave request associated with a specific wave |
![]() |
void | OnAsyncFileCallback
(
FStreamingWaveData* StreamingWaveData, |
Called when an async callback is made on an async loading audio chunk request. |
![]() |
void | Processes pending async file IO results. |
Overridden from IAudioStreamingManager
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddDecoder
(
ICompressedAudioInfo* CompressedAudioInfo |
Adds the decoder to the streaming manager to prevent stream chunks from getting reaped from underneath it |
![]() ![]() |
void | AddReferenceToChunk
(
const FAudioChunkHandle& InHandle |
Unused by the legacy audio streaming manager. |
![]() ![]() |
void | AddStreamingSoundSource
(
FSoundSource* SoundSource |
Adds a new Sound Source to the streaming manager. |
![]() ![]() |
void | AddStreamingSoundWave
(
const FSoundWaveProxyPtr& SoundWave |
Adds a new Sound Wave to the streaming manager. |
![]() ![]() ![]() |
bool | CanCreateSoundSource
(
const FWaveInstance* WaveInstance |
|
![]() ![]() |
FString | Generate a memory report as a formatted string for this streaming manager. | |
![]() ![]() ![]() |
FAudioChunkHandle | GetLoadedChunk
(
const FSoundWaveProxyPtr& SoundWave, |
Gets a pointer to a chunk of audio data |
![]() ![]() ![]() |
bool | IsManagedStreamingSoundSource
(
const FSoundSource* SoundSource |
Returns true if this is a streaming Sound Source that is managed by the streaming manager. |
![]() ![]() ![]() |
bool | IsManagedStreamingSoundWave
(
const FSoundWaveProxyPtr& SoundWave |
Returns true if this is a Sound Wave that is managed by the streaming manager. |
![]() ![]() |
bool | IsStreamingInProgress
(
const FSoundWaveProxyPtr& SoundWave |
Returns true if this Sound Wave is currently streaming a chunk. |
![]() ![]() |
void | RemoveDecoder
(
ICompressedAudioInfo* CompressedAudioInfo |
Removes the decoder from the streaming manager. |
![]() ![]() |
void | RemoveReferenceToChunk
(
const FAudioChunkHandle& InHandle |
This can be used to decrement reference counted handles to audio chunks. |
![]() ![]() |
void | RemoveStreamingSoundSource
(
FSoundSource* SoundSource |
Removes a Sound Source from the streaming manager. |
![]() ![]() |
void | RemoveStreamingSoundWave
(
const FSoundWaveProxyPtr& SoundWave |
Removes a Sound Wave from the streaming manager. |
![]() ![]() |
int32 | RenderStatAudioStreaming
(
UWorld* World, |
Used for rendering debug info: |
![]() ![]() |
bool | RequestChunk
(
const FSoundWaveProxyPtr& SoundWave, |
Manually prepare a chunk to start playing back. |
![]() ![]() |
void | SetProfilingMode
(
bool bEnabled |
Whether to toggle a performance intensive profiling mode the streaming manager. |
![]() ![]() |
uint64 | TrimMemory
(
uint64 NumBytesToFree |
This will start evicting elements from the cache until either hit our target of bytes or run out of chunks we can free. |
Overridden from IStreamingManager
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Adds a ULevel that has already prepared StreamingData to the streaming manager. | |
![]() ![]() |
int32 | BlockTillAllRequestsFinished
(
float TimeLimit, |
Blocks till all pending requests are fulfilled. |
![]() ![]() |
void | Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures"). | |
![]() ![]() |
void | Notifies manager of "level" change. | |
![]() ![]() |
void | NotifyLevelOffset
(
ULevel* Level, |
Notifies manager that level primitives were shifted |
![]() ![]() |
void | RemoveLevel
(
ULevel* Level |
Removes a ULevel from the streaming manager. |
![]() ![]() |
void | SetDisregardWorldResourcesForFrames
(
int32 NumFrames |
Don't stream world resources for the next NumFrames. |
![]() ![]() |
void | UpdateResourceStreaming
(
float DeltaTime, |
Updates streaming, taking into account all current view infos. |