FMediaPlayerFacade::GetAudioTrackChannels

Get the number of channels in the specified audio track.

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

uint32 GetAudioTrackChannels
(
    int32 TrackIndex,
    int32 FormatIndex
) const

Remarks

Get the number of channels in the specified audio track.

Returns

Number of channels.

Parameters

Parameter

Description

TrackIndex

Index of the audio track.

FormatIndex

Index of the track format.

See Also