media_info.h

Overview

Related Modules:

MultiMedia_MediaCommon

Description:

Declares the media_info class and provides various audio, video, and codec types.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

AudioDeviceDesc

Defines the audio Device Descriptor.

Enumerations

Enumeration Name

Description

AudioSourceType {   AUDIO_SOURCE_INVALID = -1, AUDIO_SOURCE_DEFAULT = 0, AUDIO_MIC = 1, AUDIO_VOICE_UPLINK = 2,   AUDIO_VOICE_DOWNLINK = 3, AUDIO_VOICE_CALL = 4, AUDIO_CAMCORDER = 5, AUDIO_VOICE_RECOGNITION = 6,   AUDIO_VOICE_COMMUNICATION = 7, AUDIO_REMOTE_SUBMIX = 8, AUDIO_UNPROCESSED = 9, AUDIO_VOICE_PERFORMANCE = 10,   AUDIO_ECHO_REFERENCE = 1997, AUDIO_RADIO_TUNER = 1998, AUDIO_HOTWORD = 1999, AUDIO_REMOTE_SUBMIX_EXTEND = 10007 }

Enumerates audio source types.

AudioStreamType {   TYPE_DEFAULT = -1, TYPE_MEDIA = 0, TYPE_VOICE_COMMUNICATION = 1, TYPE_SYSTEM = 2,   TYPE_RING = 3, TYPE_MUSIC = 4, TYPE_ALARM = 5, TYPE_NOTIFICATION = 6,   TYPE_BLUETOOTH_SCO = 7, TYPE_ENFORCED_AUDIBLE = 8, TYPE_DTMF = 9, TYPE_TTS = 10,   TYPE_ACCESSIBILITY = 11 }

Enumerates audio stream types.

VideoCodecFormat { VIDEO_DEFAULT = 0, H264 = 2, HEVC = 5 }

Enumerates video codec formats.

AudioCodecFormat {   AUDIO_DEFAULT = 0, AAC_LC = 1, AAC_HE_V1 = 2, AAC_HE_V2 = 3,   AAC_LD = 4, AAC_ELD = 5, FORMAT_BUTT }

Enumerates audio codec formats.

AudioBitWidth { BIT_WIDTH_8 = 8, BIT_WIDTH_16 = 16, BIT_WIDTH_24 = 24, BIT_WIDTH_BUTT }

Enumerates audio bit widths.