[PATCH 0/6] Fix state callbacks register/unregister in audio code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This attempts to fix some missing state cb unregister in audio code.

Instead of registering general callback and filter stuff in cb itself
allow to specify for which audio device callback should be called.
This allows to cleanly register/unregister for state callbacks on per
device basis without increasing number of runtime calback calls.

Szymon Janc (6):
  avdtp: Register state callback for specified audio device
  avdtp: Remove user data from avdtp_session_state_cb
  avctp: Allow to register state callback for specified audio device
  avctp: Remove user data from avdtp_session_state_cb
  sink: Register state callback for specified audio device
  source: Register state callback for specified audio device

 profiles/audio/avctp.c     | 12 ++++++++----
 profiles/audio/avctp.h     |  5 ++---
 profiles/audio/avdtp.c     | 13 +++++++++----
 profiles/audio/avdtp.h     |  6 +++---
 profiles/audio/avrcp.c     |  2 +-
 profiles/audio/control.c   | 10 +++++-----
 profiles/audio/device.c    | 33 ++++++++++++++++-----------------
 profiles/audio/sink.c      | 26 ++++++++++++++------------
 profiles/audio/sink.h      |  3 ++-
 profiles/audio/source.c    | 27 +++++++++++++++------------
 profiles/audio/source.h    |  3 ++-
 profiles/audio/transport.c | 10 ++--------
 12 files changed, 79 insertions(+), 71 deletions(-)

-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux