OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79f22a
)
lib: SCO voice setting support header
author
Frédéric Dalleau
<frederic.dalleau@linux.intel.com>
Wed, 26 Jun 2013 17:32:08 +0000
(19:32 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 1 Aug 2013 09:32:11 +0000
(12:32 +0300)
Modify headers to enable support for changing SCO voice setting.
Corresponding commit implements functionality on kernel side.
lib/bluetooth.h
patch
|
blob
|
history
diff --git
a/lib/bluetooth.h
b/lib/bluetooth.h
index
48323f0
..
012fde4
100644
(file)
--- a/
lib/bluetooth.h
+++ b/
lib/bluetooth.h
@@
-104,6
+104,14
@@
struct bt_security {
*/
#define BT_CHANNEL_POLICY_AMP_PREFERRED 2
+#define BT_VOICE 11
+struct bt_voice {
+ uint16_t setting;
+};
+
+#define BT_VOICE_TRANSPARENT 0x0003
+#define BT_VOICE_CVSD_16BIT 0x0060
+
/* Connection and socket states */
enum {
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */