PlaybackRateList

fun PlaybackRateList(modifier: Modifier = Modifier, playbackRates: List<Double> = listOf(0.25, 0.5, 1.0, 1.25, 1.5, 2.0), onClick: () -> Unit? = null)

A list of playback rates, from which the user can choose a desired playback rate.

Parameters

modifier

the Modifier to be applied to this menu

playbackRates

the list of possible playback rates

onClick

called when a playback rate in the list is clicked