IOSAudio implementation of FSoundSource, the interface used to play, stop and update sources
更多...
#include <IOSAudioDevice.h>
继承自 FSoundSource .
|
| | 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
|
| |
IOSAudio implementation of FSoundSource, the interface used to play, stop and update sources
◆ FIOSAudioSoundSource()
| FIOSAudioSoundSource::FIOSAudioSoundSource |
( |
FIOSAudioDevice * |
InAudioDevice, |
|
|
uint32 |
InBusNumber |
|
) |
| |
Constructor
- 参数
-
| InAudioDevice | audio 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.
- 参数
-
| WaveInstance | wave 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
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
该类的文档由以下文件生成: