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:
69fd49d
)
audio: Fix gateway state check
author
Mikel Astiz
<mikel.astiz@bmw-carit.de>
Fri, 4 May 2012 13:14:35 +0000
(15:14 +0200)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 7 May 2012 14:05:39 +0000
(07:05 -0700)
Gateway should be considered active also if connecting or playing.
This could for example lead to manager_find_device() not returning a
device that is connecting, and thus the corresponding endpoint would
never be created in the Media API.
audio/device.c
patch
|
blob
|
history
diff --git
a/audio/device.c
b/audio/device.c
index
a9d35f9
..
ee1ade1
100644
(file)
--- a/
audio/device.c
+++ b/
audio/device.c
@@
-701,7
+701,7
@@
gboolean audio_device_is_active(struct audio_device *dev,
control_is_active(dev))
return TRUE;
else if (!strcmp(interface, AUDIO_GATEWAY_INTERFACE) && dev->gateway &&
- gateway_is_
connected
(dev))
+ gateway_is_
active
(dev))
return TRUE;
return FALSE;