AudioRecord.BufferSizeInFrames Property

Definition

Returns the frame count of the native AudioRecord buffer.

public virtual int BufferSizeInFrames { [Android.Runtime.Register("getBufferSizeInFrames", "()I", "GetGetBufferSizeInFramesHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getBufferSizeInFrames", "()I", "GetGetBufferSizeInFramesHandler", ApiSince=23)>]
member this.BufferSizeInFrames : int

Property Value

current size in frames of the AudioRecord buffer.

Attributes

Remarks

Returns the frame count of the native AudioRecord buffer. This is greater than or equal to the bufferSizeInBytes converted to frame units specified in the AudioRecord constructor or Builder. The native frame count may be enlarged to accommodate the requirements of the source on creation or if the AudioRecord is subsequently rerouted.

Java documentation for android.media.AudioRecord.getBufferSizeInFrames().

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