FOutputBuffer

Class which wraps an output float buffer and handles conversion to device stream formats.

Windows
MacOS
Linux

References

Module

AudioMixerCore

Header

/Engine/Source/Runtime/AudioMixerCore/Public/AudioMixer.h

Include

#include "AudioMixer.h"

Syntax

class FOutputBuffer

Remarks

Class which wraps an output float buffer and handles conversion to device stream formats.

Constructors

Name Description

Public function

FOutputBuffer()

Destructors

Name Description

Public function

~FOutputBuffer()

Functions

Name Description

Public function Const

EAudioMixerS...

 

GetFormat()

Returns the format of the buffer.

Public function Const

int32

 

GetNumSamples()

Gets the number of frames of the buffer.

Public function

void

 

Init

(
    IAudioMixer* InAudioMixer,
    const int32 InNumSamples,
    const int32 InNumBuffers,
    const EAudioMixerStreamDataFormat::...
)

Initialize the buffer with the given samples and output format.

Public function

bool

 

MixNextBuffer()

Gets the next mixed buffer from the audio mixer. Returns false if our buffer is already full.

Public function Const

TArrayView< ...

 

PopBufferData

(
    int32& OutBytesPopped
)

Gets the buffer data ptrs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss