engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 友元 | 所有成员列表
FALAudioDevice类 参考

OpenAL implementation of an Unreal audio device. 更多...

#include <ALAudioDevice.h>

继承自 FAudioDevice .

Public 成员函数

virtual bool InitializeHardware () override
 Starts up any platform specific hardware/APIs
 
void MakeCurrent (const TCHAR *CallSiteIdentifier=nullptr)
 Makes sure correct context is set. 更多...
 
virtual void TeardownHardware () override
 Tears down audio device by stopping all sounds, removing all buffers, destroying all sources, ... Called by both Destroy and ShutdownAfterError to perform the actual tear down.
 
virtual void UpdateHardware () override
 Update the audio device and calculates the cached inverse transform later on used for spatialization.
 

Protected 成员函数

ALuint GetInternalFormat (int NumChannels)
 Returns the enum for the internal format for playing a sound with this number of channels.
 

Protected 属性

ALCdevice * HardwareDevice
 Device/context used to play back sounds (static so it can be initialized early)
 
FMatrix InverseTransform
 Inverse listener transformation, used for spatialization
 
ALenum Surround40Format
 Formats for multichannel sounds
 

友元

class FALSoundBuffer
 
class FALSoundSource
 

详细描述

OpenAL implementation of an Unreal audio device.

成员函数说明

◆ MakeCurrent()

void FALAudioDevice::MakeCurrent ( const TCHAR *  CallSiteIdentifier = nullptr)

Makes sure correct context is set.

参数
CallSiteIdentifieridentifies the call site for debugging/error reporting purposes

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