libamsip  5.2.1
Data Structures | Typedefs | Functions
amsip audio codec interface

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

◆ am_codec_info_t

Structure for audio codec configuration.

◆ am_codec_attr_t

Structure for audio codec attribute configuration.

Function Documentation

◆ am_codec_info_modify()

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.

◆ am_codec_attr_modify()

int am_codec_attr_modify ( am_codec_attr_t codec_attr)

Modify codec attribute configuration.

Parameters
codec_attrpointer to codec attribute information.

◆ am_codec_attr_get()

int am_codec_attr_get ( am_codec_attr_t codec_attr)

Get codec attribute current configuration.

Parameters
codec_attrpointer to codec attribute information.

◆ _am_codec_get_definition()

int _am_codec_get_definition ( char *  name)

Get index of codec.

Parameters
namename of codec to search.

◆ _am_codec_get_definition_with_freq()

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.