OMX_Audio.h File Reference

Typedef OMX_AUDIO_CODINGTYPE

typedef enum OMX_AUDIO_CODINGTYPE OMX_AUDIO_CODINGTYPE

Enumeration used to define the possible audio codings. If "OMX_AUDIO_CodingUnused" is selected, the coding selection must be done in a vendor specific way. Since this is for an audio processing element this enum is relevant. However, for another type of component other enums would be in this area.

Typedef OMX_AUDIO_PORTDEFINITIONTYPE

typedef struct OMX_AUDIO_PORTDEFINITIONTYPE OMX_AUDIO_PORTDEFINITIONTYPE

The PortDefinition structure is used to define all of the parameters necessary for the compliant component to setup an input or an output audio path. If additional information is needed to define the parameters of the port (such as frequency), additional structures must be sent such as the OMX_AUDIO_PARAM_PCMMODETYPE structure to supply the extra parameters for the port.

Typedef OMX_AUDIO_PARAM_PORTFORMATTYPE

typedef struct OMX_AUDIO_PARAM_PORTFORMATTYPE OMX_AUDIO_PARAM_PORTFORMATTYPE

Port format parameter. This structure is used to enumerate the various data input/output format supported by the port.

Typedef OMX_AUDIO_PCMMODETYPE

typedef enum OMX_AUDIO_PCMMODETYPE OMX_AUDIO_PCMMODETYPE

PCM mode type

Typedef OMX_AUDIO_CHANNELTYPE

typedef enum OMX_AUDIO_CHANNELTYPE OMX_AUDIO_CHANNELTYPE

Typedef OMX_AUDIO_PARAM_PCMMODETYPE

typedef struct OMX_AUDIO_PARAM_PCMMODETYPE OMX_AUDIO_PARAM_PCMMODETYPE

PCM format description

Typedef OMX_AUDIO_CHANNELMODETYPE

typedef enum OMX_AUDIO_CHANNELMODETYPE OMX_AUDIO_CHANNELMODETYPE

Audio channel mode. This is used by both AAC and MP3, although the names are more appropriate for the MP3. For example, JointStereo for MP3 is CouplingChannels for AAC.

Typedef OMX_AUDIO_MP3STREAMFORMATTYPE

typedef enum OMX_AUDIO_MP3STREAMFORMATTYPE OMX_AUDIO_MP3STREAMFORMATTYPE

Typedef OMX_AUDIO_PARAM_MP3TYPE

typedef struct OMX_AUDIO_PARAM_MP3TYPE OMX_AUDIO_PARAM_MP3TYPE

MP3 params

Typedef OMX_AUDIO_AACSTREAMFORMATTYPE

typedef enum OMX_AUDIO_AACSTREAMFORMATTYPE OMX_AUDIO_AACSTREAMFORMATTYPE

Typedef OMX_AUDIO_AACPROFILETYPE

typedef enum OMX_AUDIO_AACPROFILETYPE OMX_AUDIO_AACPROFILETYPE

AAC mode type. Note that the term profile is used with the MPEG-2 standard and the term object type and profile is used with MPEG-4

Typedef OMX_AUDIO_PARAM_AACPROFILETYPE

typedef struct OMX_AUDIO_PARAM_AACPROFILETYPE OMX_AUDIO_PARAM_AACPROFILETYPE

AAC params

Typedef OMX_AUDIO_PARAM_VORBISTYPE

typedef struct OMX_AUDIO_PARAM_VORBISTYPE OMX_AUDIO_PARAM_VORBISTYPE

VORBIS params

Typedef OMX_AUDIO_WMAFORMATTYPE

typedef enum OMX_AUDIO_WMAFORMATTYPE OMX_AUDIO_WMAFORMATTYPE

WMA Version

Typedef OMX_AUDIO_WMAPROFILETYPE

typedef enum OMX_AUDIO_WMAPROFILETYPE OMX_AUDIO_WMAPROFILETYPE

WMA Profile

Typedef OMX_AUDIO_PARAM_WMATYPE

typedef struct OMX_AUDIO_PARAM_WMATYPE OMX_AUDIO_PARAM_WMATYPE

WMA params

Typedef OMX_AUDIO_RAFORMATTYPE

typedef enum OMX_AUDIO_RAFORMATTYPE OMX_AUDIO_RAFORMATTYPE

RealAudio format

Typedef OMX_AUDIO_PARAM_RATYPE

typedef struct OMX_AUDIO_PARAM_RATYPE OMX_AUDIO_PARAM_RATYPE

RA (Real Audio) params

Typedef OMX_AUDIO_SBCALLOCMETHODTYPE

typedef enum OMX_AUDIO_SBCALLOCMETHODTYPE OMX_AUDIO_SBCALLOCMETHODTYPE

SBC Allocation Method Type

Typedef OMX_AUDIO_PARAM_SBCTYPE

typedef struct OMX_AUDIO_PARAM_SBCTYPE OMX_AUDIO_PARAM_SBCTYPE

SBC params

Typedef OMX_AUDIO_PARAM_ADPCMTYPE

typedef struct OMX_AUDIO_PARAM_ADPCMTYPE OMX_AUDIO_PARAM_ADPCMTYPE

ADPCM stream format parameters

Typedef OMX_AUDIO_G723RATE

typedef enum OMX_AUDIO_G723RATE OMX_AUDIO_G723RATE

G723 rate

Typedef OMX_AUDIO_PARAM_G723TYPE

typedef struct OMX_AUDIO_PARAM_G723TYPE OMX_AUDIO_PARAM_G723TYPE

G723 - Sample rate must be 8 KHz

Typedef OMX_AUDIO_G726MODE

typedef enum OMX_AUDIO_G726MODE OMX_AUDIO_G726MODE

ITU G726 (ADPCM) rate

Typedef OMX_AUDIO_PARAM_G726TYPE

typedef struct OMX_AUDIO_PARAM_G726TYPE OMX_AUDIO_PARAM_G726TYPE

G.726 stream format parameters - must be at 8KHz

Typedef OMX_AUDIO_G729TYPE

typedef enum OMX_AUDIO_G729TYPE OMX_AUDIO_G729TYPE

G729 coder type

Typedef OMX_AUDIO_PARAM_G729TYPE

typedef struct OMX_AUDIO_PARAM_G729TYPE OMX_AUDIO_PARAM_G729TYPE

G729 stream format parameters - fixed 6KHz sample rate

Typedef OMX_AUDIO_AMRFRAMEFORMATTYPE

typedef enum OMX_AUDIO_AMRFRAMEFORMATTYPE OMX_AUDIO_AMRFRAMEFORMATTYPE

AMR Frame format

Typedef OMX_AUDIO_AMRBANDMODETYPE

typedef enum OMX_AUDIO_AMRBANDMODETYPE OMX_AUDIO_AMRBANDMODETYPE

AMR band mode

Typedef OMX_AUDIO_AMRDTXMODETYPE

typedef enum OMX_AUDIO_AMRDTXMODETYPE OMX_AUDIO_AMRDTXMODETYPE

AMR Discontinuous Transmission mode

Typedef OMX_AUDIO_PARAM_AMRTYPE

typedef struct OMX_AUDIO_PARAM_AMRTYPE OMX_AUDIO_PARAM_AMRTYPE

AMR params

Typedef OMX_AUDIO_PARAM_GSMFRTYPE

typedef struct OMX_AUDIO_PARAM_GSMFRTYPE OMX_AUDIO_PARAM_GSMFRTYPE

GSM_FR (ETSI 06.10, 3GPP 46.010) stream format parameters

Typedef OMX_AUDIO_PARAM_GSMHRTYPE

typedef struct OMX_AUDIO_PARAM_GSMHRTYPE OMX_AUDIO_PARAM_GSMHRTYPE

GSM-HR (ETSI 06.20, 3GPP 46.020) stream format parameters

Typedef OMX_AUDIO_PARAM_GSMEFRTYPE

typedef struct OMX_AUDIO_PARAM_GSMEFRTYPE OMX_AUDIO_PARAM_GSMEFRTYPE

GSM-EFR (ETSI 06.60, 3GPP 46.060) stream format parameters

Typedef OMX_AUDIO_PARAM_TDMAFRTYPE

typedef struct OMX_AUDIO_PARAM_TDMAFRTYPE OMX_AUDIO_PARAM_TDMAFRTYPE

TDMA FR (TIA/EIA-136-420, VSELP 7.95kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_TDMAEFRTYPE

typedef struct OMX_AUDIO_PARAM_TDMAEFRTYPE OMX_AUDIO_PARAM_TDMAEFRTYPE

TDMA EFR (TIA/EIA-136-410, ACELP 7.4kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_PDCFRTYPE

typedef struct OMX_AUDIO_PARAM_PDCFRTYPE OMX_AUDIO_PARAM_PDCFRTYPE

PDC FR ( RCR-27, VSELP 6.7kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_PDCEFRTYPE

typedef struct OMX_AUDIO_PARAM_PDCEFRTYPE OMX_AUDIO_PARAM_PDCEFRTYPE

PDC EFR ( RCR-27, ACELP 6.7kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_PDCHRTYPE

typedef struct OMX_AUDIO_PARAM_PDCHRTYPE OMX_AUDIO_PARAM_PDCHRTYPE

PDC HR ( RCR-27, PSI-CELP 3.45kbps coder) stream format parameters

Typedef OMX_AUDIO_CDMARATETYPE

typedef enum OMX_AUDIO_CDMARATETYPE OMX_AUDIO_CDMARATETYPE

CDMA Rate types

Typedef OMX_AUDIO_PARAM_QCELP8TYPE

typedef struct OMX_AUDIO_PARAM_QCELP8TYPE OMX_AUDIO_PARAM_QCELP8TYPE

QCELP8 (TIA/EIA-96, up to 8kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_QCELP13TYPE

typedef struct OMX_AUDIO_PARAM_QCELP13TYPE OMX_AUDIO_PARAM_QCELP13TYPE

QCELP13 ( CDMA, EIA/TIA-733, 13.3kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_EVRCTYPE

typedef struct OMX_AUDIO_PARAM_EVRCTYPE OMX_AUDIO_PARAM_EVRCTYPE

EVRC ( CDMA, EIA/TIA-127, RCELP up to 8.55kbps coder) stream format parameters

Typedef OMX_AUDIO_PARAM_SMVTYPE

typedef struct OMX_AUDIO_PARAM_SMVTYPE OMX_AUDIO_PARAM_SMVTYPE

SMV ( up to 8.55kbps coder) stream format parameters

Typedef OMX_AUDIO_MIDIFORMATTYPE

typedef enum OMX_AUDIO_MIDIFORMATTYPE OMX_AUDIO_MIDIFORMATTYPE

MIDI Format

Typedef OMX_AUDIO_PARAM_MIDITYPE

typedef struct OMX_AUDIO_PARAM_MIDITYPE OMX_AUDIO_PARAM_MIDITYPE

MIDI params

Typedef OMX_AUDIO_MIDISOUNDBANKTYPE

typedef enum OMX_AUDIO_MIDISOUNDBANKTYPE OMX_AUDIO_MIDISOUNDBANKTYPE

Type of the MIDI sound bank

Typedef OMX_AUDIO_MIDISOUNDBANKLAYOUTTYPE

typedef enum OMX_AUDIO_MIDISOUNDBANKLAYOUTTYPE OMX_AUDIO_MIDISOUNDBANKLAYOUTTYPE

Bank Layout describes how bank MSB & LSB are used in the DLS instrument definitions sound bank

Typedef OMX_AUDIO_PARAM_MIDILOADUSERSOUNDTYPE

typedef struct OMX_AUDIO_PARAM_MIDILOADUSERSOUNDTYPE OMX_AUDIO_PARAM_MIDILOADUSERSOUNDTYPE

MIDI params to load/unload user soundbank

Typedef OMX_AUDIO_CONFIG_MIDIIMMEDIATEEVENTTYPE

typedef struct OMX_AUDIO_CONFIG_MIDIIMMEDIATEEVENTTYPE OMX_AUDIO_CONFIG_MIDIIMMEDIATEEVENTTYPE

Structure for Live MIDI events and MIP messages. (MIP = Maximum Instantaneous Polyphony; part of the SP-MIDI standard.)

Typedef OMX_AUDIO_CONFIG_MIDISOUNDBANKPROGRAMTYPE

typedef struct OMX_AUDIO_CONFIG_MIDISOUNDBANKPROGRAMTYPE OMX_AUDIO_CONFIG_MIDISOUNDBANKPROGRAMTYPE

MIDI sound bank/ program pair in a given channel

Typedef OMX_AUDIO_CONFIG_MIDICONTROLTYPE

typedef struct OMX_AUDIO_CONFIG_MIDICONTROLTYPE OMX_AUDIO_CONFIG_MIDICONTROLTYPE

MIDI control

Typedef OMX_AUDIO_MIDIPLAYBACKSTATETYPE

typedef enum OMX_AUDIO_MIDIPLAYBACKSTATETYPE OMX_AUDIO_MIDIPLAYBACKSTATETYPE

MIDI Playback States

Typedef OMX_AUDIO_CONFIG_MIDISTATUSTYPE

typedef struct OMX_AUDIO_CONFIG_MIDISTATUSTYPE OMX_AUDIO_CONFIG_MIDISTATUSTYPE

MIDI status

Typedef OMX_AUDIO_CONFIG_MIDIMETAEVENTTYPE

typedef struct OMX_AUDIO_CONFIG_MIDIMETAEVENTTYPE OMX_AUDIO_CONFIG_MIDIMETAEVENTTYPE

MIDI Meta Event structure one per Meta Event. MIDI Meta Events are like audio metadata, except that they are interspersed with the MIDI content throughout the file and are not localized in the header. As such, it is necessary to retrieve information about these Meta Events from the engine, as it encounters these Meta Events within the MIDI content. For example, SMF files can have up to 14 types of MIDI Meta Events (copyright, author, default tempo, etc.) scattered throughout the file.

Typedef OMX_AUDIO_CONFIG__MIDIMETAEVENTDATATYPE

typedef struct OMX_AUDIO_CONFIG_MIDIMETAEVENTDATATYPE OMX_AUDIO_CONFIG__MIDIMETAEVENTDATATYPE

MIDI Meta Event Data structure - one per Meta Event.

Typedef OMX_AUDIO_CONFIG_VOLUMETYPE

typedef struct OMX_AUDIO_CONFIG_VOLUMETYPE OMX_AUDIO_CONFIG_VOLUMETYPE

Audio Volume adjustment for a port

Typedef OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE

typedef struct OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE

Audio Volume adjustment for a channel

Typedef OMX_AUDIO_CONFIG_BALANCETYPE

typedef struct OMX_AUDIO_CONFIG_BALANCETYPE OMX_AUDIO_CONFIG_BALANCETYPE

Audio balance setting

Typedef OMX_AUDIO_CONFIG_MUTETYPE

typedef struct OMX_AUDIO_CONFIG_MUTETYPE OMX_AUDIO_CONFIG_MUTETYPE

Audio Port mute

Typedef OMX_AUDIO_CONFIG_CHANNELMUTETYPE

typedef struct OMX_AUDIO_CONFIG_CHANNELMUTETYPE OMX_AUDIO_CONFIG_CHANNELMUTETYPE

Audio Channel mute

Typedef OMX_AUDIO_CONFIG_LOUDNESSTYPE

typedef struct OMX_AUDIO_CONFIG_LOUDNESSTYPE OMX_AUDIO_CONFIG_LOUDNESSTYPE

Enable / Disable for loudness control, which boosts bass and to a smaller extent high end frequencies to compensate for hearing ability at the extreme ends of the audio spectrum

Typedef OMX_AUDIO_CONFIG_BASSTYPE

typedef struct OMX_AUDIO_CONFIG_BASSTYPE OMX_AUDIO_CONFIG_BASSTYPE

Enable / Disable for bass, which controls low frequencies

Typedef OMX_AUDIO_CONFIG_TREBLETYPE

typedef struct OMX_AUDIO_CONFIG_TREBLETYPE OMX_AUDIO_CONFIG_TREBLETYPE

Enable / Disable for treble, which controls high frequencies tones

Typedef OMX_AUDIO_CONFIG_EQUALIZERTYPE

typedef struct OMX_AUDIO_CONFIG_EQUALIZERTYPE OMX_AUDIO_CONFIG_EQUALIZERTYPE

An equalizer is typically used for two reasons: to compensate for an sub-optimal frequency response of a system to make it sound more natural or to create intentionally some unnatural coloring to the sound to create an effect.

Typedef OMX_AUDIO_STEREOWIDENINGTYPE

typedef enum OMX_AUDIO_STEREOWIDENINGTYPE OMX_AUDIO_STEREOWIDENINGTYPE

Stereo widening mode type

Typedef OMX_AUDIO_CONFIG_STEREOWIDENINGTYPE

typedef struct OMX_AUDIO_CONFIG_STEREOWIDENINGTYPE OMX_AUDIO_CONFIG_STEREOWIDENINGTYPE

Control for stereo widening, which is a special 2-channel case of the audio virtualizer effect. For example, for 5.1-channel output, it translates to virtual surround sound.

Typedef OMX_AUDIO_CONFIG_CHORUSTYPE

typedef struct OMX_AUDIO_CONFIG_CHORUSTYPE OMX_AUDIO_CONFIG_CHORUSTYPE

The chorus effect (or ``choralizer'') is any signal processor which makes one sound source (such as a voice) sound like many such sources singing (or playing) in unison. Since performance in unison is never exact, chorus effects simulate this by making independently modified copies of the input signal. Modifications may include (1) delay, (2) frequency shift, and (3) amplitude modulation.

Typedef OMX_AUDIO_CONFIG_REVERBERATIONTYPE

typedef struct OMX_AUDIO_CONFIG_REVERBERATIONTYPE OMX_AUDIO_CONFIG_REVERBERATIONTYPE

Reverberation is part of the reflected sound that follows the early reflections. In a typical room, this consists of a dense succession of echoes whose energy decays exponentially. The reverberation effect structure as defined here includes both (early) reflections as well as (late) reverberations.

Typedef OMX_AUDIO_ECHOCANTYPE

typedef enum OMX_AUDIO_ECHOCANTYPE OMX_AUDIO_ECHOCANTYPE

Possible settings for the Echo Cancelation structure to use

Typedef OMX_AUDIO_CONFIG_ECHOCANCELATIONTYPE

typedef struct OMX_AUDIO_CONFIG_ECHOCANCELATIONTYPE OMX_AUDIO_CONFIG_ECHOCANCELATIONTYPE

Enable / Disable for echo cancelation, which removes undesired echo's from the audio

Typedef OMX_AUDIO_CONFIG_NOISEREDUCTIONTYPE

typedef struct OMX_AUDIO_CONFIG_NOISEREDUCTIONTYPE OMX_AUDIO_CONFIG_NOISEREDUCTIONTYPE

Enable / Disable for noise reduction, which undesired noise from the audio