| IStreamingManager
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
Include |
#include "AudioStreamingCache.h" |
struct FCachedAudioStreamingManager : public IAudioStreamingManager
This implementation of the audio streaming manager uses an internal LRU cache (or in more advanced applications, a bank of parallel LRU caches)
Name | Description | ||
---|---|---|---|
|
CacheArray |
Audio chunk caches. These are set up on initialization. |
Name | Description | |
---|---|---|
|
FCachedAudioStreamingManager ( |
Constructor, initializing all members |
Name | Description | |
---|---|---|
|
~FCachedAudioStreamingManager() |
Name | Description | ||
---|---|---|---|
|
FAudioChunkC... |
GetCacheForChunkSize ( |
|
|
FAudioChunkC... |
GetCacheForWave ( |
Returns which cache this sound wave should be in, based on the size of this sound wave's chunk, or nullptr if MemoryLoadOnDemand is disabled. |
|
GetNextChunkIndex ( |
Returns the next chunk to kick off a load for, or INDEX_NONE if there is only one chunk to cache. |
Name | Description | ||
---|---|---|---|
|
AddDecoder ( |
Adds the decoder to the streaming manager to prevent stream chunks from getting reaped from underneath it |
|
|
AddReferenceToChunk ( |
These are used to reference count consumers of audio chunks. |
|
|
AddStreamingSoundSource ( |
Adds a new Sound Source to the streaming manager. |
|
|
AddStreamingSoundWave ( |
IAudioStreamingManager interface (unused functions) |
|
|
CanCreateSoundSource ( |
||
|
GenerateMemoryReport() |
Generate a memory report as a formatted string for this streaming manager. |
|
|
FAudioChunkH... |
GetLoadedChunk ( |
Gets a pointer to a chunk of audio data |
|
IsManagedStreamingSoundSource ( |
Returns true if this is a streaming Sound Source that is managed by the streaming manager. |
|
|
IsManagedStreamingSoundWave ( |
Returns true if this is a Sound Wave that is managed by the streaming manager. |
|
|
IsStreamingInProgress ( |
Returns true if this Sound Wave is currently streaming a chunk. |
|
|
RemoveDecoder ( |
Removes the decoder from the streaming manager. |
|
|
RemoveReferenceToChunk ( |
This can be used to decrement reference counted handles to audio chunks. |
|
|
RemoveStreamingSoundSource ( |
Removes a Sound Source from the streaming manager. |
|
|
RemoveStreamingSoundWave ( |
Removes a Sound Wave from the streaming manager. |
|
|
RenderStatAudioStreaming |
Used for rendering debug info: |
|
|
RequestChunk ( |
IAudioStreamingManager interface (used functions) |
|
|
SetProfilingMode ( |
Whether to toggle a performance intensive profiling mode the streaming manager. |
|
|
TrimMemory ( |
This will start evicting elements from the cache until either hit our target of bytes or run out of chunks we can free. |
Name | Description | ||
---|---|---|---|
|
AddLevel ( |
Adds a ULevel that has already prepared StreamingData to the streaming manager. |
|
|
BlockTillAllRequestsFinished ( |
Blocks till all pending requests are fulfilled. |
|
|
CancelForcedResources() |
Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures"). |
|
|
NotifyLevelChange() |
Notifies manager of "level" change. |
|
|
NotifyLevelOffset |
Notifies manager that level primitives were shifted |
|
|
RemoveLevel ( |
Removes a ULevel from the streaming manager. |
|
|
SetDisregardWorldResourcesForFrames ( |
Don't stream world resources for the next NumFrames. |
|
|
UpdateResourceStreaming ( |
Updates streaming, taking into account all current view infos. |