Commit: 09984fd9c6264b3cfce63959da6b694c71613da0
Parent: a48d5487c7fad16a9c5d1ef00270c57b40bd74ae
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-09-13 10:44:48
Tree: c886ff4354c56bf20ce17d9f1080905defa177db

AVRCP: use a vtable to simplify PDU parsing/handling This simplify a bit the handling by introducing common checks before calling the handler callback, it is also much easier to add/remove new PDUs in this way.

Diffstat

M audio/control.c | 321 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 124 insertions(+), 197 deletions(-)

View Full Diff | Patch