Class which wraps an output float buffer and handles conversion to device stream formats. 更多...
#include <AudioMixer.h>
Public 成员函数 | |
| EAudioMixerStreamDataFormat::Type | GetFormat () const |
| Returns the format of the buffer. | |
| int32 | GetNumSamples () const |
| Gets the number of frames of the buffer. | |
| void | Init (IAudioMixer *InAudioMixer, const int32 InNumSamples, const int32 InNumBuffers, const EAudioMixerStreamDataFormat::Type InDataFormat) |
| Initialize the buffer with the given samples and output format. | |
| bool | MixNextBuffer () |
| Gets the next mixed buffer from the audio mixer. 更多... | |
| TArrayView< const uint8 > | PopBufferData (int32 &OutBytesPopped) const |
| Gets the buffer data ptrs. 更多... | |
Class which wraps an output float buffer and handles conversion to device stream formats.
| bool Audio::FOutputBuffer::MixNextBuffer | ( | ) |
Gets the next mixed buffer from the audio mixer.
Returns false if our buffer is already full.
| TArrayView< const uint8 > Audio::FOutputBuffer::PopBufferData | ( | int32 & | OutBytesPopped | ) | const |
Gets the buffer data ptrs.
Returns a TArrayView for the full buffer size requested, but in the case of an underrun, OutBytesPopped will be less that the size of the returned TArrayView.