다음을 통해 공유


MediaCodec.Callback.OnInputBufferAvailable(MediaCodec, Int32) Method

Definition

Called when an input buffer becomes available.

[Android.Runtime.Register("onInputBufferAvailable", "(Landroid/media/MediaCodec;I)V", "GetOnInputBufferAvailable_Landroid_media_MediaCodec_IHandler")]
public abstract void OnInputBufferAvailable (Android.Media.MediaCodec codec, int index);
[<Android.Runtime.Register("onInputBufferAvailable", "(Landroid/media/MediaCodec;I)V", "GetOnInputBufferAvailable_Landroid_media_MediaCodec_IHandler")>]
abstract member OnInputBufferAvailable : Android.Media.MediaCodec * int -> unit

Parameters

codec
MediaCodec

The MediaCodec object.

index
Int32

The index of the available input buffer.

Attributes

Remarks

Called when an input buffer becomes available.

Java documentation for android.media.MediaCodec.Callback.onInputBufferAvailable(android.media.MediaCodec, 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