FMediaIOAudioCapture

Handles capturing capturing audio samples rendered by the engine and dispatching them to outputs.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

ISubmixBufferListener

FMediaIOAudioCapture

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreAudioOutput.h

Include

#include "MediaIOCoreAudioOutput.h"

Syntax

class FMediaIOAudioCapture : public ISubmixBufferListener

Remarks

Handles capturing capturing audio samples rendered by the engine and dispatching them to outputs.

Constructors

Name Description

Public function

FMediaIOAudioCapture()

Destructors

Name Description

Public function Virtual

~FMediaIOAudioCapture()

Functions

Name Description

Public function

TSharedPtr< ...

 

CreateAudioOutput

(
    int32 InNumOutputChannels,
    FFrameRate InTargetFrameRate,
    uint32 InMaxSampleLatency,
    uint32 InOutputSampleRate
)

Create an audio output that will receive audio samples.

Overridden from ISubmixBufferListener

Name Description

Public function Virtual

void

 

OnNewSubmixBuffer

(
    const USoundSubmix* OwningSubm...,
    float* AudioData,
    int32 NumSamples,
    int32 NumChannels,
    const int32 SampleRate,
    double AudioClock
)

Called when a new buffer has been rendered for a given submix