handsfree-audio: Move codec enums to hfp.h

This commit is contained in:
Denis Kenzior 2013-04-08 23:58:49 -05:00
parent ad43b3d248
commit e130f22715
2 changed files with 7 additions and 6 deletions

View File

@ -37,18 +37,13 @@
#include <ofono/handsfree-audio.h>
#include "bluetooth.h"
#include "hfp.h"
#include "ofono.h"
#define HFP_AUDIO_MANAGER_INTERFACE OFONO_SERVICE ".HandsfreeAudioManager"
#define HFP_AUDIO_AGENT_INTERFACE OFONO_SERVICE ".HandsfreeAudioAgent"
#define HFP_AUDIO_CARD_INTERFACE OFONO_SERVICE ".HandsfreeAudioCard"
/* Supported agent codecs */
enum hfp_codec {
HFP_CODEC_CVSD = 0x01,
HFP_CODEC_MSBC = 0x02,
};
struct ofono_handsfree_card {
char *remote;
char *local;

View File

@ -44,3 +44,9 @@ enum hfp_hf_feature {
HFP_HF_FEATURE_ENHANCED_CALL_CONTROL = 0x40,
HFP_HF_FEATURE_CODEC_NEGOTIATION = 0x80,
};
/* Supported agent codecs */
enum hfp_codec {
HFP_CODEC_CVSD = 0x01,
HFP_CODEC_MSBC = 0x02,
};