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

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

#include <ALAudioDevice.h>

继承自 FSoundBuffer .

Public 成员函数

 FALSoundBuffer (FALAudioDevice *AudioDevice)
 Constructor 更多...
 
int GetSize (void)
 Returns the size of this buffer in bytes. 更多...
 
 ~FALSoundBuffer (void)
 Destructor 更多...
 

静态 Public 成员函数

static void CreateNativeBuffer (FALAudioDevice *AudioDevice, USoundWave *InWave, FALSoundBuffer *&Buffer)
 Static function used to create a IOSAudio buffer and upload decompressed ogg vorbis data to. 更多...
 
static FALSoundBuffer * Init (FALAudioDevice *, USoundWave *)
 Static function used to create a buffer. 更多...
 

Public 属性

ALuint BufferId
 Buffer id used to reference the data stored in AL.
 
int BufferSize
 Number of bytes stored in OpenAL, or the size of the ogg vorbis data
 
ALuint InternalFormat
 Format of the data internal to OpenAL
 
int SampleRate
 Sample rate of the ogg vorbis data - typically 44100 or 22050
 

详细描述

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

构造及析构函数说明

◆ FALSoundBuffer()

FALSoundBuffer::FALSoundBuffer ( FALAudioDevice *  AudioDevice)

Constructor

参数
AudioDeviceaudio device this sound buffer is going to be attached to.

◆ ~FALSoundBuffer()

FALSoundBuffer::~FALSoundBuffer ( void  )

Destructor

Frees wave data and detaches itself from audio device.

成员函数说明

◆ CreateNativeBuffer()

static void FALSoundBuffer::CreateNativeBuffer ( FALAudioDevice *  AudioDevice,
USoundWave *  InWave,
FALSoundBuffer *&  Buffer 
)
static

Static function used to create a IOSAudio buffer and upload decompressed ogg vorbis data to.

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

◆ GetSize()

int FALSoundBuffer::GetSize ( void  )
inline

Returns the size of this buffer in bytes.

返回
Size in bytes

◆ Init()

static FALSoundBuffer * FALSoundBuffer::Init ( FALAudioDevice *  ,
USoundWave *   
)
static

Static function used to create a buffer.

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

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