summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2013-04-08 19:40:59 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-04-09 14:33:41 -0500
commit9b4ac07051344943a1884338485f8cc46aaec611 (patch)
treea2ce3cfff450fa2b0959414c0dc9cdbcb971c4ee /include
parent3715103654dc1f045e5ba5f9e5d51b2355291e91 (diff)
downloadofono-9b4ac07051344943a1884338485f8cc46aaec611.tar.bz2
include: Add ofono_handsfree_audio_has_wideband()
As we can assume that the CVSD codec will be always available, the only information that we need to export is if we have support for wideband codecs. Right now only mSBC is defined as wideband.
Diffstat (limited to 'include')
-rw-r--r--include/handsfree-audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/handsfree-audio.h b/include/handsfree-audio.h
index 49b0605d..82d13128 100644
--- a/include/handsfree-audio.h
+++ b/include/handsfree-audio.h
@@ -49,6 +49,8 @@ struct ofono_handsfree_card *ofono_handsfree_card_create(unsigned int vendor,
int ofono_handsfree_card_register(struct ofono_handsfree_card *card);
void ofono_handsfree_card_remove(struct ofono_handsfree_card *card);
+ofono_bool_t ofono_handsfree_audio_has_wideband(void);
+
void ofono_handsfree_card_set_data(struct ofono_handsfree_card *card,
void *data);
void *ofono_handsfree_card_get_data(struct ofono_handsfree_card *card);