FMediaPlayerFacade::GetAudioTrackSampleRate

Get the sample rate of the specified audio track.

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 GetAudioTrackSampleRate
(
    int32 TrackIndex,
    int32 FormatIndex
) const

Remarks

Get the sample rate of the specified audio track.

Returns

Samples per second.

Parameters

Parameter

Description

TrackIndex

Index of the audio track.

FormatIndex

Index of the track format.

See Also

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