Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- IStreamingManager
- IAudioStreamingManager
- FCachedAudioStreamingManager
- FLegacyAudioStreamingManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include | #include "ContentStreaming.h" |
Syntax
struct IAudioStreamingManager : public IStreamingManager
Remarks
Interface to add functions specifically related to audio streaming
Variables
| Type | Name | Description | |
|---|---|---|---|
| friend | FAudioChunkHandle |
Functions
| 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 |
This can be used to increment reference counted handles to audio chunks. | |
| 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. | |
| FAudioChunkHandle | BuildChunkHandle
(
const uint8* InData, |
This can be called by implementers of IAudioStreamingManager to construct an FAudioChunkHandle using an otherwise inaccessible constructor. | |
| 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. |