Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/FMediaPlayerFacade
Description
Get the number of channels in the specified audio track.
| Name | GetAudioTrackChannels |
| 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 GetAudioTrackChannels
(
int32 TrackIndex,
int32 FormatIndex
) const
Number of channels.
Parameters
| Name | Remarks |
|---|---|
| TrackIndex | Index of the audio track. |
| FormatIndex | Index of the track format. |
See Also
-
GetAudioTrackSampleRate
-
GetAudioTrackType