Skip to content

RFC Refactoring profiles/audio code

Andrei Emeltchenko linux-bluetooth 3 versions – In review

Get series with b4
b4 am 1424436203-28935-1-git-send-email-Andrei.Emeltchenko.news@gmail.com

Versions newest first · linked by author and title

  1. v3 RFC Latest9 patches 1 replyIn review
  2. v2 RFC5 patches 1 replySuperseded
  3. v1 RFC1 patch 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9android/avdtp: Refactor local SEP list handlingandroid/Android.mk android/Makefile.am android/a2dp.c +4 more+137 -860 replies
2/9unit/avdtp: Refactor context destroyunit/test-avdtp.c+22 -360 replies
3/9android/avdtp: Remove extra checkandroid/avdtp.c+0 -30 replies
4/9audio/avdtp: Use bitfield id generationprofiles/audio/avdtp.c+8 -40 replies
5/9audio/avdtp: Refactor avdtp and a2dp codeprofiles/audio/a2dp.c profiles/audio/avdtp.c profiles/audio/avdtp.h+219 -1260 replies
6/9audio/avdtp: Replace GSList with queue for SEP listprofiles/audio/a2dp.c profiles/audio/avdtp.c+34 -240 replies
7/9audi: Refactor avdtp_get functionprofiles/audio/a2dp.c profiles/audio/a2dp.h profiles/audio/avdtp.c +4 more+23 -590 replies
8/9audio/avdtp: Move avdtp_server from avdtp SEP structuresprofiles/audio/a2dp.c profiles/audio/avdtp.c+8 -130 replies
9/9audio/avdtp: Use SEP queue instead of avdtp_server in avdtp codeprofiles/audio/a2dp.c profiles/audio/avdtp.c profiles/audio/avdtp.h +4 more+13 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [RFCv3 0/9] Refactoring profiles/audio code

From: Andrei Emeltchenko <[email protected]>

Refactoring code so that avdtp library can be easily reused inside profiles/

Andrei Emeltchenko (9):
android/avdtp: Refactor local SEP list handling unit/avdtp: Refactor context destroy
android/avdtp: Remove extra check
audio/avdtp: Use bitfield id generation
audio/avdtp: Refactor avdtp and a2dp code audio/avdtp: Replace GSList with queue for SEP list
audi: Refactor avdtp_get function
audio/avdtp: Move avdtp_server from avdtp SEP structures audio/avdtp: Use SEP queue instead of avdtp_server in avdtp code

 android/Android.mk         |   1 +
 android/Makefile.am        |   1 +
 android/a2dp.c             |  18 ++-
 android/avdtp.c            |  91 +++++++++------
 android/avdtp.h            |   8 +-
 android/avdtptest.c        |  10 +-
 profiles/audio/a2dp.c      | 181 ++++++++++++++++++++++++++++-
 profiles/audio/a2dp.h      |   1 +
 profiles/audio/avdtp.c     | 283 +++++++++++++--------------------------------
 profiles/audio/avdtp.h     |  19 ++-
 profiles/audio/media.c     |   1 +
 profiles/audio/sink.c      |   3 +-
 profiles/audio/source.c    |   3 +-
 profiles/audio/transport.c |   3 +-
 unit/test-avdtp.c          | 117 ++++++++++---------
 15 files changed, 421 insertions(+), 319 deletions(-)
Signature · 1 line
2.1.0