Android.Media.SoundPool.SetRate Method
Change playback rate.

Syntax

[Android.Runtime.Register("setRate", "(IF)V", "")]
public void SetRate (int streamID, float rate)

Parameters

streamID
a streamID returned by the play() function
rate
playback rate (1.0 = normal playback, range 0.5 to 2.0)

Remarks

Change playback rate. The playback rate allows the application to vary the playback rate (pitch) of the sound. A value of 1.0 means playback at the original frequency. A value of 2.0 means playback twice as fast, and a value of 0.5 means playback at half speed. If the stream does not exist, it will have no effect.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1