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.
This commit is contained in:
Vinicius Costa Gomes 2013-04-15 10:54:48 -03:00 committed by Denis Kenzior
parent df1f9bf730
commit 7574479e47
1 changed files with 2 additions and 0 deletions

View File

@ -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);