IOSAudio implementation of FSoundBuffer, containing the wave data and format information.
更多...
#include <IOSAudioDevice.h>
继承自 FSoundBuffer .
|
| 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. 更多...
|
| |
|
|
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 function used to create a buffer.
- 参数
-
| InWave | USoundWave to use as template and wave source |
| AudioDevice | audio 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
- 参数
-
| Destination | Memory to decompress to |
| bLooping | Whether 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.
该类的文档由以下文件生成: