Compartir a través de


MediaSync.SetAudioTrack(AudioTrack) Method

Definition

Sets the audio track for MediaSync.

[Android.Runtime.Register("setAudioTrack", "(Landroid/media/AudioTrack;)V", "", ApiSince=23)]
public void SetAudioTrack (Android.Media.AudioTrack? audioTrack);
[<Android.Runtime.Register("setAudioTrack", "(Landroid/media/AudioTrack;)V", "", ApiSince=23)>]
member this.SetAudioTrack : Android.Media.AudioTrack -> unit

Parameters

audioTrack
AudioTrack

Specify an AudioTrack through which to render the audio data.

Attributes

Remarks

Sets the audio track for MediaSync.

Currently, this is only supported in the Initialized state.

Java documentation for android.media.MediaSync.setAudioTrack(android.media.AudioTrack).

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