FMediaPlayerFacade::GetAudioTrackFormat

Get details about the specified audio track format.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

bool GetAudioTrackFormat
(
    int32 TrackIndex,
    int32 FormatIndex,
    FMediaAudioTrackFormat & OutFormat
) const

Remarks

Get details about the specified audio track format.

Returns

true on success, false otherwise.

Parameters

Parameter

Description

TrackIndex

The index of the audio track.

FormatIndex

The index of the track's format.

OutFormat

Will contain the format details.

See Also