Commit: 10daf196dd514559eacd3e54188b2c77916c3a23
Parent: 058e9dc04c2cd7a29d5c4a5cc3d21169a52f142d
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-05-10 14:24:13
Tree: 3c0ec60c7de5d9a569afcd8f166f285658758768

AVCTP: Don't allocate memory for every key pressed The timer field can be used to detect if the key is currectly active instead of relying on a pointer that needs to be allocated for every single key press.

Diffstat

M profiles/audio/avctp.c | 54 +++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 17 insertions(+), 37 deletions(-)

View Full Diff | Patch