Commit Graph

14 Commits

Author SHA1 Message Date
Simon Fels 5a7410e9e4 handsfree-audio: add type for our audio cards
When registering audio cards for the handsfree and gateway roles we
need a way for our users to differentiate between both to decide which
of them they start using for their purpose.
2015-10-05 11:46:30 -05:00
Denis Kenzior 288364295c include: Add sco_connected_hint to handsfree-audio 2015-05-13 09:57:52 -05:00
Vinicius Costa Gomes ff16aed8bd handsfree-audio: Detect transparent SCO in kernel
Deferred SCO setup is not enough for HFP 1.6 wideband codec support.
Wideband speech also requires Transparent SCO to be enabled in the
kernel.
2013-09-12 13:17:40 -05:00
Vinicius Costa Gomes 66225c5ebd include: Add ofono_handsfree_audio_has_defer_setup() 2013-04-25 17:49:27 -05:00
Vinicius Costa Gomes 7574479e47 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.
2013-04-15 06:57:21 -05:00
Vinicius Costa Gomes 9b4ac07051 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.
2013-04-09 14:33:41 -05:00
Vinicius Costa Gomes 405961a657 include: Add ofono_handsfree_card_connect_sco()
This will be used by HFP plugins to tell the core that a SCO connection
needs to be established.
2013-03-28 09:32:59 -05:00
Denis Kenzior ac4e5f0045 include: Fix hf audio connect method declaration 2013-03-26 23:28:06 -05:00
Denis Kenzior c71f2967f2 include: Refactor ofono_handsfree_card_create 2013-03-18 13:42:46 -05:00
Denis Kenzior 5f6c3aa6e4 include: Add get/set data handsfree audio card 2013-03-18 13:42:46 -05:00
Denis Kenzior 46f95f0d4f include: Add handsfree card driver registration 2013-03-18 13:42:43 -05:00
Denis Kenzior d15e22ab6d include: Add handsfree card register method 2013-02-26 13:21:32 -06:00
Denis Kenzior d202b18a9d include: Add handsfree card create / remove API 2013-02-26 11:03:41 -06:00
Denis Kenzior 3e16bc5e88 include: Add skeleton for handsfree-audio 2013-02-21 08:27:32 -06:00