mirror of git://git.sysmocom.de/ofono
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:
parent
df1f9bf730
commit
7574479e47
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue