[PATCH 0/7] Add support for HandsfreeGateway to Media

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

 



This patch will enable HandsfreeGateway interface to work with PulseAudio.
This is similar to what is done for Headset interface.

Some details about patch 2 :
In an error situation, endpoint_reply calls request->cb which frees endpoint->request and sets it to NULL.
But endpoint_reply uses a local variable with a copy of the pointer and tries to free the request again.

Also there is some minor fixes in the pulse audio part still required.
I'll send the patch on the PA list.




Frédéric Dalleau (7):
  Add missing call to headset_remove_state_cb
  Fix double free in error case in endpoint_reply
  Add state change callback to HandsfreeGateway
  Use state change callback from media interface
  Update g_strcmp0 to strcasecmp
  Add state change callback to audio interface
  Introduce new state GATEWAY_STATE_PLAY_IN_PROGRESS

 audio/device.c  |   54 +++++++++++++++++++++++++++++++++++++++++++++
 audio/gateway.c |   66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 audio/gateway.h |    8 ++++++
 audio/media.c   |   61 +++++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 187 insertions(+), 2 deletions(-)

--
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