![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IOSAudioDevice.h>
Inheritance diagram for FIOSAudioSoundBuffer:Public Member Functions | |
| FIOSAudioSoundBuffer (FIOSAudioDevice *InAudioDevice, USoundWave *InWave, bool InStreaming, bool InProcedural) | |
| virtual | ~FIOSAudioSoundBuffer (void) |
| virtual int32 | GetSize (void) override |
| virtual int32 | GetCurrentChunkIndex () const override |
| virtual int32 | GetCurrentChunkOffset () const override |
| virtual bool | ReadCompressedInfo (USoundWave *SoundWave) override |
| virtual bool | ReadCompressedData (uint8 *Destination, int32 NumFramesToDecode, bool bLooping) override |
| bool | ReleaseCurrentChunk () |
Public Member Functions inherited from FSoundBuffer | |
| FSoundBuffer (class FAudioDevice *InAudioDevice) | |
| virtual ENGINE_API | ~FSoundBuffer () |
| virtual ENGINE_API FString | Describe (bool bUseLongName) |
| FName | GetSoundClassName () |
| FString | GetChannelsDesc () |
| virtual void | Seek (const float SeekTime) |
| virtual bool | IsRealTimeSourceReady () |
| virtual void | EnsureRealtimeTaskCompletion () |
Static Public Member Functions | |
| static FIOSAudioSoundBuffer * | Init (FIOSAudioDevice *IOSAudioDevice, USoundWave *InWave) |
Public Attributes | |
| int32 | RenderCallbackBufferSize |
| int32 | SampleRate |
| int32 | SoundFormat |
| int16 * | SampleData |
| uint32 | BufferSize |
| ICompressedAudioInfo * | DecompressionState |
| bool | bStreaming |
| bool | bIsProcedural |
Public Attributes inherited from FSoundBuffer | |
| virtual int32 | GetSize () PURE_VIRTUAL(FSoundBuffer |
| int32 | ResourceID |
| int32 | NumChannels |
| FString | ResourceName |
| bool | bAllocationInPermanentPool |
| class FAudioDevice * | AudioDevice |
IOSAudio implementation of FSoundBuffer, containing the wave data and format information.
| FIOSAudioSoundBuffer::FIOSAudioSoundBuffer | ( | FIOSAudioDevice * | InAudioDevice, |
| USoundWave * | InWave, | ||
| bool | InStreaming, | ||
| bool | InProcedural | ||
| ) |
|
virtual |
|
overridevirtual |
Gets the chunk index that was last read from (for Streaming Manager requests)
Reimplemented from FSoundBuffer.
|
overridevirtual |
Gets the offset into the chunk that was last read to (for Streaming Manager priority)
Reimplemented from FSoundBuffer.
Returns the size of this buffer in bytes.
|
static |
Static function used to create a buffer.
| InWave | USoundWave to use as template and wave source |
| AudioDevice | audio device to attach created buffer to |
|
overridevirtual |
Decompresses a chunk of compressed audio to the destination memory
| Destination | Memory to decompress to |
| bLooping | Whether to loop the sound seamlessly, or pad with zeroes |
Reimplemented from FSoundBuffer.
|
overridevirtual |
Read the compressed info (i.e. parse header and open up a file handle) from the given sound wave.
Reimplemented from FSoundBuffer.
| bool FIOSAudioSoundBuffer::ReleaseCurrentChunk | ( | ) |
| bool FIOSAudioSoundBuffer::bIsProcedural |
| bool FIOSAudioSoundBuffer::bStreaming |
| uint32 FIOSAudioSoundBuffer::BufferSize |
| ICompressedAudioInfo* FIOSAudioSoundBuffer::DecompressionState |
Wrapper to assist in the bookkeeping of uncompressed data when streaming
| int32 FIOSAudioSoundBuffer::RenderCallbackBufferSize |
| int16* FIOSAudioSoundBuffer::SampleData |
| int32 FIOSAudioSoundBuffer::SampleRate |
| int32 FIOSAudioSoundBuffer::SoundFormat |