engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Audio::FOutputBuffer类 参考

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.

成员函数说明

◆ MixNextBuffer()

bool Audio::FOutputBuffer::MixNextBuffer ( )

Gets the next mixed buffer from the audio mixer.

Returns false if our buffer is already full.

◆ PopBufferData()

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.


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