engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FIOSAudioSoundBuffer类 参考

IOSAudio implementation of FSoundBuffer, containing the wave data and format information. 更多...

#include <IOSAudioDevice.h>

继承自 FSoundBuffer .

Public 成员函数

virtual int32 GetSize (void) override
 Returns the size of this buffer in bytes. 更多...
 
virtual bool ReadCompressedData (uint8 *Destination, int32 NumFramesToDecode, bool bLooping) override
 Decompresses a chunk of compressed audio to the destination memory 更多...
 
virtual bool ReadCompressedInfo (USoundWave *SoundWave) override
 Read the compressed info (i.e. 更多...
 

静态 Public 成员函数

static FIOSAudioSoundBuffer * Init (FIOSAudioDevice *IOSAudioDevice, USoundWave *InWave)
 Static function used to create a buffer. 更多...
 

Public 属性

class FADPCMAudioInfo * DecompressionState
 Wrapper to assist in the bookkeeping of uncompressed data when streaming
 

详细描述

IOSAudio implementation of FSoundBuffer, containing the wave data and format information.

成员函数说明

◆ GetSize()

virtual int32 FIOSAudioSoundBuffer::GetSize ( void  )
overridevirtual

Returns the size of this buffer in bytes.

返回
Size in bytes

◆ Init()

static FIOSAudioSoundBuffer * FIOSAudioSoundBuffer::Init ( FIOSAudioDevice *  IOSAudioDevice,
USoundWave *  InWave 
)
static

Static function used to create a buffer.

参数
InWaveUSoundWave to use as template and wave source
AudioDeviceaudio device to attach created buffer to
返回
FIOSAudioSoundBuffer pointer if buffer creation succeeded, NULL otherwise

◆ ReadCompressedData()

virtual bool FIOSAudioSoundBuffer::ReadCompressedData ( uint8 *  Destination,
int32  NumFramesToDecode,
bool  bLooping 
)
overridevirtual

Decompresses a chunk of compressed audio to the destination memory

参数
DestinationMemory to decompress to
bLoopingWhether to loop the sound seamlessly, or pad with zeroes
返回
Whether the sound looped or not

◆ ReadCompressedInfo()

virtual bool FIOSAudioSoundBuffer::ReadCompressedInfo ( USoundWave *  SoundWave)
overridevirtual

Read the compressed info (i.e.

parse header and open up a file handle) from the given sound wave.


该类的文档由以下文件生成: