]> code.delx.au - pulseaudio/commit
bluetooth: Parse media transport's properties
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 10 May 2013 08:30:44 +0000 (10:30 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 3 Jun 2013 19:08:42 +0000 (00:38 +0530)
commit2f79fb580ad583b2492b567d32630e7e03883855
treeef43fa18951bcac33d5a815bb899cec19d47f52a
parent235611a7d13ab251689f5b480183d7f39e043a2e
bluetooth: Parse media transport's properties

Add the code to parse the properties of the media transport object when
a PropertiesChanged signal is received.

Note that the transport might have an owner other than BlueZ, and thus
the property changes would be emitted from arbitrary senders. For
performance reasons, the installed match considers the interface name
where the property has changed.

It could be possible to install and remove the D-Bus matches dynamically
when a new owner is registered/unregistered, but filtering based on the
interface name seems good enough already.
src/modules/bluetooth/bluetooth-util.c