Parent: 0ae17af642d59ea89b00d069be70ee55f2e10813
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-03-17 14:53:32
Tree: 073a50f3963994cbd45cd88723586836ffb8cc24
android/avrcp-lib: Change API to register callbacks instead of PDU handlers This adds avrcp_register_player function to register callbacks for requests and responses, the fundamental difference is that the callbacks are called after the original PDU is parsed and the parameter are converted to host byte order making us able to unit test the parsing itself.
Diffstat
| M | android/avrcp-lib.c | | | 27 | +++++++++++++++++++++++++++ |
| M | android/avrcp-lib.h | | | 11 | +++++++++++ |
2 files changed, 38 insertions(+), 0 deletions(-)