All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/6] include: Add ofono_handsfree_card_set_codec()
@ 2013-04-15 13:54 Vinicius Costa Gomes
  2013-04-15 12:22 ` Denis Kenzior
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vinicius Costa Gomes @ 2013-04-15 13:54 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

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.
---
 include/handsfree-audio.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/handsfree-audio.h b/include/handsfree-audio.h
index 82d1312..53e8ab1 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);
 
-- 
1.8.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-15 13:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 13:54 [PATCH v3 1/6] include: Add ofono_handsfree_card_set_codec() Vinicius Costa Gomes
2013-04-15 12:22 ` Denis Kenzior
2013-04-15 13:54 ` [PATCH v3 2/6] handsfree-audio: Implement ofono_handsfree_card_set_codec() Vinicius Costa Gomes
2013-04-15 13:54 ` [PATCH v3 3/6] hfp_hf_bluez5: Watch for changes in the selected codec Vinicius Costa Gomes
2013-04-15 13:54 ` [PATCH v3 4/6] handsfree-audio: Send " Vinicius Costa Gomes
2013-04-15 13:54 ` [PATCH v3 5/6] handsfree-audio: Keep track whether defer_setup is enabled Vinicius Costa Gomes
2013-04-15 13:54 ` [PATCH v3 6/6] handsfree-audio: Toggle wideband support when the agent registers Vinicius Costa Gomes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.