SoundPool.SetRate(Int32, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Change playback rate.
[Android.Runtime.Register("setRate", "(IF)V", "")]
public void SetRate (int streamID, float rate);
[<Android.Runtime.Register("setRate", "(IF)V", "")>]
member this.SetRate : int * single -> unit
Parameters
- streamID
- Int32
a streamID returned by the play() function
- rate
- Single
playback rate (1.0 = normal playback, range 0.5 to 2.0)
- Attributes
Remarks
Java documentation for android.media.SoundPool.setRate(int, float).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.