AudioTrackEncapsulationMode Enum
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.
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 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 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.