Share via


AudioTrack.GetNativeOutputSampleRate(Stream) Method

Definition

Returns the output sample rate in Hz for the specified stream type.

[Android.Runtime.Register("getNativeOutputSampleRate", "(I)I", "")]
public static int GetNativeOutputSampleRate (Android.Media.Stream streamType);
[<Android.Runtime.Register("getNativeOutputSampleRate", "(I)I", "")>]
static member GetNativeOutputSampleRate : Android.Media.Stream -> int

Parameters

streamType
Stream

Returns

Attributes

Remarks

Returns the output sample rate in Hz for the specified stream type.

Java documentation for android.media.AudioTrack.getNativeOutputSampleRate(int).

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.

Applies to