getPlaybackSpeed

fun getPlaybackSpeed(): Float

Gets the current playback speed for the audio.

Return

The playback speed as a positive float if successful; -1.0f otherwise.