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

IOSAudio implementation of FSoundSource, the interface used to play, stop and update sources 更多...

#include <IOSAudioDevice.h>

继承自 FSoundSource .

Public 成员函数

 FIOSAudioSoundSource (FIOSAudioDevice *InAudioDevice, uint32 InBusNumber)
 Constructor 更多...
 
AudioUnitElement GetAudioUnitElement (int32 Channel)
 Calculates the audio unit element of the input channel relative to the base bus number
 
virtual bool Init (FWaveInstance *WaveInstance) override
 Initializes a source with a given wave instance and prepares it for playback. 更多...
 
virtual bool IsFinished (void) override
 Queries the status of the currently associated wave instance. 更多...
 
virtual void Pause (void) override
 Pauses playback of current wave instance.
 
virtual void Play (void) override
 Plays the current wave instance.
 
virtual void Stop (void) override
 Stops the current wave instance and detaches it from the source.
 
virtual void Update (void) override
 Updates the source specific parameter like e.g. 更多...
 
 ~FIOSAudioSoundSource (void)
 Destructor
 

Protected 属性

FIOSAudioSoundBuffer * IOSBuffer
 Cached sound buffer associated with currently bound wave instance. 更多...
 

友元

class FIOSAudioDevice
 

详细描述

IOSAudio implementation of FSoundSource, the interface used to play, stop and update sources

构造及析构函数说明

◆ FIOSAudioSoundSource()

FIOSAudioSoundSource::FIOSAudioSoundSource ( FIOSAudioDevice *  InAudioDevice,
uint32  InBusNumber 
)

Constructor

参数
InAudioDeviceaudio device this source is attached to

成员函数说明

◆ Init()

virtual bool FIOSAudioSoundSource::Init ( FWaveInstance *  WaveInstance)
overridevirtual

Initializes a source with a given wave instance and prepares it for playback.

参数
WaveInstancewave instance being primed for playback
返回
true if initialization was successful, false otherwise

◆ IsFinished()

virtual bool FIOSAudioSoundSource::IsFinished ( void  )
overridevirtual

Queries the status of the currently associated wave instance.

返回
true if the wave instance/ source has finished playback and false if it is currently playing or paused.

◆ Update()

virtual void FIOSAudioSoundSource::Update ( void  )
overridevirtual

Updates the source specific parameter like e.g.

volume and pitch based on the associated wave instance.

类成员变量说明

◆ IOSBuffer

FIOSAudioSoundBuffer* FIOSAudioSoundSource::IOSBuffer
protected

Cached sound buffer associated with currently bound wave instance.

Do not shadow the declaration of Buffer in the parent class since that member gets used by the streaming engine


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