Navigation
Unreal Engine C++ API Reference > Runtime > MediaAssets > UMediaPlayer
References
Module | MediaAssets |
Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
Include | #include "MediaPlayer.h" |
Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
UFUNCTION (BlueprintCallable, Category="Media|MediaPlayer")
int32 GetAudioTrackChannels
(
int32 TrackIndex,
int32 FormatIndex
) const
Remarks
Get the number of channels in the specified audio track. Number of channels.
Parameters
Name | Description |
---|---|
TrackIndex | Index of the audio track, or INDEX_NONE for the selected one. |
FormatIndex | Index of the track format, or INDEX_NONE for the selected one. |