Navigation
API > API/Runtime > API/Runtime/Engine
Interface to add functions specifically related to audio streaming
| Name | IAudioStreamingManager |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include Path | #include "ContentStreaming.h" |
Syntax
struct IAudioStreamingManager : public IStreamingManager
Implements Interfaces
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LoadCompletedDefault | auto | Manually prepare a chunk to start playing back. | ContentStreaming.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddForceInlineSoundWave
(
const FSoundWaveProxyPtr& SoundWave |
Adds the memory usage of the force inline sound to the streaming cache budget | ContentStreaming.h | |
FString GenerateMemoryReport() |
Generate a memory report as a formatted string for this streaming manager. | ContentStreaming.h | |
FAudioChunkHandle GetLoadedChunk
(
const FSoundWaveProxyPtr& SoundWave, |
Gets a pointer to a chunk of audio data | ContentStreaming.h | |
virtual void HandleStarvation
(
const FSoundWaveProxyPtr& SoundWave, |
In the event that the decoder playing back the chunks is in a starvation state due to an outstanding chunk load, handle that here. | ContentStreaming.h | |
virtual void RemoveForceInlineSoundWave
(
const FSoundWaveProxyPtr& SoundWave |
Removes the memory usage of the force inline sound from the streaming cache budget | ContentStreaming.h | |
| Used for rendering debug info: | ContentStreaming.h | ||
bool RequestChunk
(
const FSoundWaveProxyPtr& SoundWave, |
ContentStreaming.h | ||
void SetProfilingMode
(
bool bEnabled |
Whether to toggle a performance intensive profiling mode the streaming manager. | ContentStreaming.h | |
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 |
Protected
| 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 | |
void AddReferenceToChunk
(
const FAudioChunkHandle& InHandle |
This can be used to increment reference counted handles to audio chunks. | ContentStreaming.h | |
virtual void RemoveMemoryCountedFeature
(
const FAudioStreamCacheMemoryHandle& Feature |
This can be used to decrease the memory count for external features. | ContentStreaming.h | |
void RemoveReferenceToChunk
(
const FAudioChunkHandle& InHandle |
This can be used to decrement reference counted handles to audio chunks. | ContentStreaming.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAudioChunkHandle BuildChunkHandle
(
const uint8* InData, |
This can be called by implementers of IAudioStreamingManager to construct an FAudioChunkHandle using an otherwise inaccessible constructor. | ContentStreaming.h | |
static void LogWarning() |
ContentStreaming.h |