diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2013-04-08 19:41:00 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-04-09 14:33:41 -0500 |
commit | 1c518564340df85d1dbd3d5925ca33f06a8b4086 (patch) | |
tree | a0e57ca85d37c52f831470139676d2648471fb7e /src/handsfree-audio.c | |
parent | 9b4ac07051344943a1884338485f8cc46aaec611 (diff) | |
download | ofono-1c518564340df85d1dbd3d5925ca33f06a8b4086.tar.bz2 |
handsfree-audio: Implement ofono_handsfree_audio_has_wideband
Diffstat (limited to 'src/handsfree-audio.c')
-rw-r--r-- | src/handsfree-audio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c index 3f24a2a0..699c8cca 100644 --- a/src/handsfree-audio.c +++ b/src/handsfree-audio.c @@ -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) |