MediaSync.Callback.OnAudioBufferConsumed(MediaSync, ByteBuffer, 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.
Called when returning an audio buffer which has been consumed.
[Android.Runtime.Register("onAudioBufferConsumed", "(Landroid/media/MediaSync;Ljava/nio/ByteBuffer;I)V", "GetOnAudioBufferConsumed_Landroid_media_MediaSync_Ljava_nio_ByteBuffer_IHandler", ApiSince=23)]
public abstract void OnAudioBufferConsumed (Android.Media.MediaSync sync, Java.Nio.ByteBuffer audioBuffer, int bufferId);
[<Android.Runtime.Register("onAudioBufferConsumed", "(Landroid/media/MediaSync;Ljava/nio/ByteBuffer;I)V", "GetOnAudioBufferConsumed_Landroid_media_MediaSync_Ljava_nio_ByteBuffer_IHandler", ApiSince=23)>]
abstract member OnAudioBufferConsumed : Android.Media.MediaSync * Java.Nio.ByteBuffer * int -> unit
Parameters
- sync
- MediaSync
The MediaSync object.
- audioBuffer
- ByteBuffer
The returned audio buffer.
- bufferId
- Int32
The ID associated with audioBuffer as passed into
MediaSync#queueAudio
.
- Attributes
Remarks
Called when returning an audio buffer which has been consumed.
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.