Navigation
API > API/Runtime > API/Runtime/Engine
Dummy audio streaming manager used on the servers and whenever we cannot render audio
| Name | FDummyAudioStreamingManager |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include Path | #include "ContentStreaming.h" |
Syntax
struct FDummyAudioStreamingManager : public IAudioStreamingManager
Implements Interfaces
Functions
Public
Overridden from IAudioStreamingManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddMemoryCountedFeature
(
const FAudioStreamCacheMemoryHandle& Feature |
This can be used to increase the memory count for external features. | ContentStreaming.h | |
virtual FString GenerateMemoryReport() |
Generate a memory report as a formatted string for this streaming manager. | ContentStreaming.h | |
virtual FAudioChunkHandle GetLoadedChunk
(
const FSoundWaveProxyPtr& SoundWave, |
Gets a pointer to a chunk of audio data | ContentStreaming.h | |
virtual void RemoveMemoryCountedFeature
(
const FAudioStreamCacheMemoryHandle& Feature |
This can be used to decrease the memory count for external features. | ContentStreaming.h | |
| Used for rendering debug info: | ContentStreaming.h | ||
virtual bool RequestChunk
(
const FSoundWaveProxyPtr& SoundWave, |
ContentStreaming.h | ||
virtual void SetProfilingMode
(
bool bEnabled |
Whether to toggle a performance intensive profiling mode the streaming manager. | ContentStreaming.h | |
virtual 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. | ContentStreaming.h |
Overridden from IStreamingManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddLevel
(
ULevel* Level |
Adds a ULevel that has already prepared StreamingData to the streaming manager. | ContentStreaming.h | |
virtual int32 BlockTillAllRequestsFinished
(
float TimeLimit, |
Blocks till all pending requests are fulfilled. | ContentStreaming.h | |
virtual void CancelForcedResources() |
Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures"). | ContentStreaming.h | |
virtual void NotifyLevelChange() |
Notifies manager of "level" change. | ContentStreaming.h | |
virtual void NotifyLevelOffset
(
ULevel* Level, |
Notifies manager that level primitives were shifted | ContentStreaming.h | |
virtual void RemoveLevel
(
ULevel* Level |
Removes a ULevel from the streaming manager. | ContentStreaming.h | |
virtual void SetDisregardWorldResourcesForFrames
(
int32 NumFrames |
Don't stream world resources for the next NumFrames. | ContentStreaming.h | |
virtual void UpdateResourceStreaming
(
float DeltaTime, |
Updates streaming, taking into account all current view infos. | ContentStreaming.h |
Protected
Overridden from IAudioStreamingManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferenceToChunk
(
const FAudioChunkHandle& InHandle |
This can be used to increment reference counted handles to audio chunks. | ContentStreaming.h | |
virtual void RemoveReferenceToChunk
(
const FAudioChunkHandle& InHandle |
This can be used to decrement reference counted handles to audio chunks. | ContentStreaming.h |