Język

AudioTrackEncapsulationMode Enum

Definition

Selects whether an audio-track payload includes metadata encapsulation.

public enum AudioTrackEncapsulationMode
type AudioTrackEncapsulationMode = 
Inheritance
AudioTrackEncapsulationMode

Fields

Name Value Description
None 0

This mode indicates no metadata encapsulation, which is the default mode for sending audio data through AudioTrack.

Android reference for android.media.AudioTrack.ENCAPSULATION_MODE_NONE.

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.

ElementaryStream 1

This mode indicates metadata encapsulation with an elementary stream payload. Both compressed and PCM format is allowed.

Android reference for android.media.AudioTrack.ENCAPSULATION_MODE_ELEMENTARY_STREAM.

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.

Remarks

The elementary-stream mode permits either compressed or PCM payloads with metadata framing. None uses the ordinary payload without that metadata encapsulation.

Applies to