CoreAudio implementation of FSoundSource, the interface used to play, stop and update sources
更多...
#include <CoreAudioDevice.h>
继承自 FSoundSource .
|
| | FCoreAudioSoundSource (FAudioDevice *InAudioDevice) |
| | Constructor 更多...
|
| |
| virtual bool | Init (FWaveInstance *WaveInstance) |
| | Initializes a source with a given wave instance and prepares it for playback. 更多...
|
| |
| virtual bool | IsFinished (void) |
| | Queries the status of the currently associated wave instance. 更多...
|
| |
|
virtual void | Pause (void) |
| | Pauses playback of current wave instance.
|
| |
| virtual void | Play (void) |
| | Plays the current wave instance. 更多...
|
| |
| virtual void | Stop (void) |
| | Stops the current wave instance and detaches it from the source. 更多...
|
| |
|
void | SubmitPCMBuffers (void) |
| | Submit the relevant audio buffers to the system
|
| |
|
void | SubmitPCMRTBuffers (void) |
| | Submit the relevant audio buffers to the system
|
| |
| virtual void | Update (void) |
| | Updates the source specific parameter like e.g. 更多...
|
| |
|
| ~FCoreAudioSoundSource (void) |
| | Destructor
|
| |
|
|
void | HandleRealTimeSource (bool bBlockForData) |
| | Handles feeding new data to a real time decompressed sound
|
| |
|
void | HandleRealTimeSourceData (bool bLooped) |
| | Handles feeding new data to a real time decompressed sound
|
| |
| bool | ReadMorePCMData (const int32 BufferIndex, EDataReadMode DataReadMode) |
| | Decompress USoundWave procedure to generate more PCM data. 更多...
|
| |
|
|
FCoreAudioDevice * | AudioDevice |
| | Owning classes
|
| |
|
bool | bBuffersToFlush |
| | Set when we wish to let the buffers play themselves out
|
| |
|
bool | bStreamedSound |
| | Which sound buffer should be written to next - used for double buffering.
|
| |
|
FCoreAudioSoundBuffer * | CoreAudioBuffer |
| | Cached sound buffer associated with currently bound wave instance.
|
| |
|
FCoreAudioBuffer | CoreAudioBuffers [3] |
| | A pair of sound buffers to allow notification when a sound loops.
|
| |
|
FAsyncRealtimeAudioTask * | RealtimeAsyncTask |
| | Asynchronous task for real time audio sources
|
| |
|
|
class | FCoreAudioDevice |
| |
|
class | FCoreAudioEffectsManager |
| |
CoreAudio implementation of FSoundSource, the interface used to play, stop and update sources
◆ FCoreAudioSoundSource()
| FCoreAudioSoundSource::FCoreAudioSoundSource |
( |
FAudioDevice * |
InAudioDevice | ) |
|
Constructor
- 参数
-
| InAudioDevice | audio device this source is attached to |
◆ Init()
| virtual bool FCoreAudioSoundSource::Init |
( |
FWaveInstance * |
WaveInstance | ) |
|
|
virtual |
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 FCoreAudioSoundSource::IsFinished |
( |
void |
| ) |
|
|
virtual |
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.
◆ Play()
| virtual void FCoreAudioSoundSource::Play |
( |
void |
| ) |
|
|
virtual |
Plays the current wave instance.
◆ ReadMorePCMData()
| bool FCoreAudioSoundSource::ReadMorePCMData |
( |
const int32 |
BufferIndex, |
|
|
EDataReadMode |
DataReadMode |
|
) |
| |
|
protected |
Decompress USoundWave procedure to generate more PCM data.
Returns true/false: did audio loop?
◆ Stop()
| virtual void FCoreAudioSoundSource::Stop |
( |
void |
| ) |
|
|
virtual |
Stops the current wave instance and detaches it from the source.
◆ Update()
| virtual void FCoreAudioSoundSource::Update |
( |
void |
| ) |
|
|
virtual |
Updates the source specific parameter like e.g.
volume and pitch based on the associated wave instance.
该类的文档由以下文件生成: