AudioFormat.Builder.SetSampleRate(Int32) 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.
Sets the sample rate.
[Android.Runtime.Register("setSampleRate", "(I)Landroid/media/AudioFormat$Builder;", "GetSetSampleRate_IHandler")]
public virtual Android.Media.AudioFormat.Builder? SetSampleRate(int sampleRate);
[<Android.Runtime.Register("setSampleRate", "(I)Landroid/media/AudioFormat$Builder;", "GetSetSampleRate_IHandler")>]
abstract member SetSampleRate : int -> Android.Media.AudioFormat.Builder
override this.SetSampleRate : int -> Android.Media.AudioFormat.Builder
Parameters
- sampleRate
- Int32
the sample rate expressed in Hz
Returns
the same Builder instance.
- Attributes
Remarks
Sets the sample rate.
Android reference for android.media.AudioFormat.Builder.setSampleRate.
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.