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:
1723fe2
)
Add missing TRACK-REACHED-START event
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Fri, 21 Oct 2011 17:58:25 +0000
(15:58 -0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Sat, 22 Oct 2011 10:18:18 +0000
(12:18 +0200)
When track is changed, we automatically start to play it, therefore we
need to notify CT regarding this event.
audio/media.c
patch
|
blob
|
history
diff --git
a/audio/media.c
b/audio/media.c
index
a7647ea
..
ade2a4b
100644
(file)
--- a/
audio/media.c
+++ b/
audio/media.c
@@
-1488,6
+1488,8
@@
static gboolean parse_player_metadata(struct media_player *mp,
uid = get_uid(mp);
avrcp_player_event(mp->player, AVRCP_EVENT_TRACK_CHANGED, &uid);
+ avrcp_player_event(mp->player, AVRCP_EVENT_TRACK_REACHED_START,
+ NULL);
return TRUE;