libamsip  5.1.0
Data Structures | Typedefs | Functions
amsip audio codec interface
Codec configuration API.

Data Structures

struct  am_codec_info
struct  am_codec_attr

Typedefs

typedef struct am_codec_info am_codec_info_t
typedef struct am_codec_attr am_codec_attr_t

Functions

int am_codec_info_modify (am_codec_info_t *codec, int index)
int am_codec_attr_modify (am_codec_attr_t *codec_attr)
int am_codec_attr_get (am_codec_attr_t *codec_attr)
int _am_codec_get_definition (char *name)
int _am_codec_get_definition_with_freq (char *name, int freq)

Detailed Description

Typedef Documentation

Structure for audio codec configuration.

Structure for audio codec attribute configuration.

Function Documentation

int am_codec_info_modify ( am_codec_info_t codec,
int  index 
)

Modify codec list at index.

Parameters
codecpointer to codec information.
indexindex in support list.
int am_codec_attr_modify ( am_codec_attr_t codec_attr)

Modify codec attribute configuration.

Parameters
codec_attrpointer to codec attribute information.
int am_codec_attr_get ( am_codec_attr_t codec_attr)

Get codec attribute current configuration.

Parameters
codec_attrpointer to codec attribute information.
int _am_codec_get_definition ( char *  name)

Get index of codec.

Parameters
namename of codec to search.
int _am_codec_get_definition_with_freq ( char *  name,
int  freq 
)

Get index of codec.

Parameters
namename of codec to search.
freqfreq for codec to search.