Get Audio Track Sample Rate

Get Audio Track Sample Rate

Windows
MacOS
Linux

Get the sample rate of the specified audio track.

Target is Media Player

Get Audio Track Sample Rate
Target
Select Asset
Track Index
0
Format Index
0
Return Value
0

Inputs

Target
Media Player Object Reference
Track Index
Integer

Index of the audio track, or INDEX_NONE for the selected one.

Format Index
Integer

Index of the track format, or INDEX_NONE for the selected one.

Outputs

Return Value
Integer

Samples per second.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback