blob: 2e3cf37cc3a6d41040d144b774d2f3bf884564bd [file] [log] [blame]
#ifndef __LYNQ_CODEC_H__
#define __LYNQ_CODEC_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
LYNQ_CALL = 1,
LYNQ_RTP,
LYNQ_MEDIA,
}media_src_t;
typedef enum {
CODEC_CLOSE = 0,
CODEC_OPEN,
}codec_op;
void set_codec(media_src_t src, codec_op open_close);
const char * get_customer_tone_path();
int get_customer_tone_sample_rate();
int customer_set_pa_volume(const int volume);
int customer_get_pa_volume(int* volume);
#ifdef __cplusplus
}
#endif
#endif //__LYNQ_CODEC_H__