OpenSLES implementation of FSoundBuffer, containing the wave data and format information. 更多...
#include <AndroidAudioDevice.h>
继承自 FSoundBuffer .
Public 成员函数 | |
| FSLESSoundBuffer (FSLESAudioDevice *AudioDevice) | |
| Constructor 更多... | |
| int | GetRTBufferSize (void) |
| Returns the size for a real time/streaming buffer based on decompressor | |
| int | GetSize (void) |
| Returns the size of this buffer in bytes. 更多... | |
| virtual bool | ReadCompressedData (uint8 *Destination, int32 NumFramesToDecode, bool bLooping) override |
| Decompresses a chunk of compressed audio to the destination memory 更多... | |
| void | Seek (const float SeekTime) |
| Sets the point in time within the buffer to the specified time If the time specified is beyond the end of the sound, it will be set to the end 更多... | |
| ~FSLESSoundBuffer (void) | |
| Destructor 更多... | |
静态 Public 成员函数 | |
| static FSLESSoundBuffer * | CreateNativeBuffer (FSLESAudioDevice *AudioDevice, USoundWave *Wave) |
| Static function used to create an Audio buffer and upload decompressed ogg vorbis data to. 更多... | |
| static FSLESSoundBuffer * | CreateProceduralBuffer (FSLESAudioDevice *AudioDevice, USoundWave *Wave) |
| Static function used to create an Audio buffer and dynamically upload procedural data to. 更多... | |
| static FSLESSoundBuffer * | CreateQueuedBuffer (FSLESAudioDevice *AudioDevice, USoundWave *Wave) |
| Static function used to create a buffer and dynamically upload decompressed ogg vorbis data to. 更多... | |
| static FSLESSoundBuffer * | CreateStreamBuffer (FSLESAudioDevice *AudioDevice, USoundWave *Wave) |
| Static function used to create a buffer and stream data directly off disk as needed 更多... | |
| static FSLESSoundBuffer * | Init (FSLESAudioDevice *, USoundWave *) |
| Static function used to create a buffer. 更多... | |
Public 属性 | |
| uint8 * | AudioData |
| Data | |
| FSLESAudioDevice * | AudioDevice |
| Audio device this buffer is attached to | |
| int | BufferSize |
| Number of bytes stored in OpenAL, or the size of the ogg vorbis data | |
| class ICompressedAudioInfo * | DecompressionState |
| Wrapper to handle the decompression of audio codecs | |
| ESoundFormat | Format |
| Format of data to be received by the source | |
| int | SampleRate |
| Sample rate of the ogg vorbis data - typically 44100 or 22050 | |
OpenSLES implementation of FSoundBuffer, containing the wave data and format information.
| FSLESSoundBuffer::FSLESSoundBuffer | ( | FSLESAudioDevice * | AudioDevice | ) |
Constructor
| AudioDevice | audio device this sound buffer is going to be attached to. |
| FSLESSoundBuffer::~FSLESSoundBuffer | ( | void | ) |
Destructor
Frees wave data and detaches itself from audio device.
|
static |
Static function used to create an Audio buffer and upload decompressed ogg vorbis data to.
| Wave | USoundWave to use as template and wave source |
| AudioDevice | audio device to attach created buffer to |
|
static |
Static function used to create an Audio buffer and dynamically upload procedural data to.
| InWave | USoundWave to use as template and wave source |
| AudioDevice | audio device to attach created buffer to |
|
static |
Static function used to create a buffer and dynamically upload decompressed ogg vorbis data to.
| InWave | USoundWave to use as template and wave source |
| AudioDevice | audio device to attach created buffer to |
|
static |
Static function used to create a buffer and stream data directly off disk as needed
| InWave | USoundWave to use as template and wave source |
| AudioDevice | audio device to attach created buffer to |
|
inline |
Returns the size of this buffer in bytes.
|
static |
Static function used to create a buffer.
| InWave | USoundWave to use as template and wave source |
| AudioDevice | Audio device to attach created buffer to |
|
overridevirtual |
Decompresses a chunk of compressed audio to the destination memory
| Destination | Memory to decompress to |
| bLooping | Whether to loop the sound seamlessly, or pad with zeroes |
| void FSLESSoundBuffer::Seek | ( | const float | SeekTime | ) |
Sets the point in time within the buffer to the specified time If the time specified is beyond the end of the sound, it will be set to the end
| SeekTime | Time in seconds from the beginning of sound to seek to |