AudioTimestamp.FramePosition Property

Definition

Position in frames relative to start of an assumed audio stream.

[Android.Runtime.Register("framePosition")]
public long FramePosition { get; set; }
[<Android.Runtime.Register("framePosition")>]
member this.FramePosition : int64 with get, set

Property Value

Attributes

Remarks

Position in frames relative to start of an assumed audio stream.

When obtained through AudioRecord#getTimestamp AudioRecord.getTimestamp(AudioTimestamp, int), all 64 bits of position are valid.

When obtained through AudioTrack#getTimestamp AudioTrack.getTimestamp(AudioTimestamp), the low-order 32 bits of position is in wrapping frame units similar to AudioTrack#getPlaybackHeadPosition AudioTrack.getPlaybackHeadPosition().

Java documentation for android.media.AudioTimestamp.framePosition.

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