Linux bluetooth development
 help / color / mirror / Atom feed
* [RFC v4 0/9] Optional acquire in Media API and related
@ 2012-09-14 12:03 Mikel Astiz
  2012-09-14 12:03 ` [RFC v4 1/9] media: Fix accesstype comparison Mikel Astiz
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Mikel Astiz @ 2012-09-14 12:03 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

From: Mikel Astiz <mikel.astiz@bmw-carit.de>

Similar patchset as v3 with the integration of Luiz's feedback, including the following changes:
- Patches 7 and 8 swapped
- State "acquired" renamed to "active" (both in D-Bus and in the code)
- TRANSPORT_STATE_POST_ACQUIRE (which was transitional) dropped

>From original patch:

This patch reopens the discussion started by the thread "when is acquire
ok to call". The race condition seems to be real (even thought difficult
to reproduce), and I couldn't think of any approach to solve this
without altering the Media API.

Mikel Astiz (9):
  media: Fix accesstype comparison
  media: Add a2dp_sep_is_playing() to internal API
  media: Add gateway_get_state() to internal API
  media: Replace transport->in_use flag with state
  media: Watch interface state changes in transport
  media: Split transport state based on playing flag
  media: Expose transport state in D-Bus
  media: Automatically release transport when HUP
  media: Extend media API with optional acquire

 audio/a2dp.c      |    8 +
 audio/a2dp.h      |    1 +
 audio/gateway.c   |    7 +
 audio/gateway.h   |    1 +
 audio/transport.c |  390 +++++++++++++++++++++++++++++++++++++++++++----------
 doc/media-api.txt |   19 +++
 6 files changed, 356 insertions(+), 70 deletions(-)

-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-09-14 12:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 12:03 [RFC v4 0/9] Optional acquire in Media API and related Mikel Astiz
2012-09-14 12:03 ` [RFC v4 1/9] media: Fix accesstype comparison Mikel Astiz
2012-09-14 12:03 ` [RFC v4 2/9] media: Add a2dp_sep_is_playing() to internal API Mikel Astiz
2012-09-14 12:03 ` [RFC v4 3/9] media: Add gateway_get_state() " Mikel Astiz
2012-09-14 12:03 ` [RFC v4 4/9] media: Replace transport->in_use flag with state Mikel Astiz
2012-09-14 12:03 ` [RFC v4 5/9] media: Watch interface state changes in transport Mikel Astiz
2012-09-14 12:03 ` [RFC v4 6/9] media: Split transport state based on playing flag Mikel Astiz
2012-09-14 12:03 ` [RFC v4 7/9] media: Expose transport state in D-Bus Mikel Astiz
2012-09-14 12:03 ` [RFC v4 8/9] media: Automatically release transport when HUP Mikel Astiz
2012-09-14 12:03 ` [RFC v4 9/9] media: Extend media API with optional acquire Mikel Astiz
2012-09-14 12:16 ` [RFC v4 0/9] Optional acquire in Media API and related Maxim Levitsky
2012-09-14 12:40   ` Mikel Astiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox