handsfree-audio: Implement ofono_handsfree_audio_has_wideband

This commit is contained in:
Vinicius Costa Gomes 2013-04-08 19:41:00 -03:00 committed by Denis Kenzior
parent 9b4ac07051
commit 1c51856434
1 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,7 @@ static int ref_count = 0;
static GSList *card_list = 0;
static guint sco_watch = 0;
static GSList *drivers = 0;
static ofono_bool_t has_wideband = FALSE;
static void send_new_connection(const char *card, int fd)
{
@ -541,6 +542,11 @@ void ofono_handsfree_card_remove(struct ofono_handsfree_card *card)
g_free(card);
}
ofono_bool_t ofono_handsfree_audio_has_wideband(void)
{
return has_wideband;
}
static void agent_free(struct agent *agent)
{
if (agent->watch > 0)