summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2013-04-15 10:54:48 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-04-15 06:57:21 -0500
commit7574479e475b9ad6205a289fbf2c24e329b03048 (patch)
treed0d9897f5fd1ac85f6b9d923d708c9cdff877167 /include
parentdf1f9bf730a219f14ae906ac6fe35dafc4a10294 (diff)
downloadofono-7574479e475b9ad6205a289fbf2c24e329b03048.tar.bz2
include: Add ofono_handsfree_card_set_codec()
This will be used by the drivers that a given codec was negotiated for a card. It will return FALSE if the codec can't be used. For example, if the selected codec is mSBC and defer setup is not supported by the kernel.
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 82d13128..53e8ab1d 100644
--- a/include/handsfree-audio.h
+++ b/include/handsfree-audio.h
@@ -48,6 +48,8 @@ struct ofono_handsfree_card *ofono_handsfree_card_create(unsigned int vendor,
void *data);
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_card_set_codec(struct ofono_handsfree_card *card,
+ unsigned char codec);
ofono_bool_t ofono_handsfree_audio_has_wideband(void);