Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/FMediaPlayerFacade
Description
Get the sample rate of the specified audio track.
| Name | GetAudioTrackSampleRate |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h |
| Include Path | #include "MediaPlayerFacade.h" |
| Source | /Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp |
uint32 GetAudioTrackSampleRate
(
int32 TrackIndex,
int32 FormatIndex
) const
Samples per second.
Parameters
| Name | Remarks |
|---|---|
| TrackIndex | Index of the audio track. |
| FormatIndex | Index of the track format. |
See Also
-
GetAudioTrackType