Parent: 3e0595f2e9ebe412bd3b9358c0e6562567c99b75
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:52:39
Tree: 6f58e25f835771f4ac2355164d89592fdfb8e344
audio: Simplify DBusConnection object handling This patch removes redundant references and function parameters for DBusConnection object and uses btd_get_dbus_connection() call wherever such object is needed instead. Pointer returned by this call is guaranteed to be valid for entire bluetoothd lifetime and thus do not need to be refcounted.
Diffstat
| M | audio/a2dp.c | | | 9 | +- - - - - - - - |
| M | audio/a2dp.h | | | 2 | +- |
| M | audio/avrcp.c | | | 2 | +- |
| M | audio/avrcp.h | | | 2 | +- |
| M | audio/control.c | | | 9 | +++++- - - - |
| M | audio/device.c | | | 20 | ++++++++- - - - - - - - - - - - |
| M | audio/device.h | | | 4 | +- - - |
| M | audio/gateway.c | | | 20 | +++++++++- - - - - - - - - - - |
| M | audio/headset.c | | | 50 | ++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | audio/main.c | | | 15 | +- - - - - - - - - - - - - - |
| M | audio/manager.c | | | 21 | +++++- - - - - - - - - - - - - - - - |
| M | audio/manager.h | | | 3 | +- - |
| M | audio/media.c | | | 69 | +++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | audio/media.h | | | 2 | +- |
| M | audio/sink.c | | | 44 | +++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - |
| M | audio/source.c | | | 28 | +++++++++++- - - - - - - - - - - - - - - - - |
| M | audio/telephony-dummy.c | | | 17 | +++++++- - - - - - - - - - |
| M | audio/telephony-maemo5.c | | | 51 | ++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | audio/telephony-maemo6.c | | | 36 | ++++++++++++++++- - - - - - - - - - - - - - - - - - - - |
| M | audio/telephony-ofono.c | | | 25 | ++++++++++++- - - - - - - - - - - - - |
| M | audio/transport.c | | | 43 | ++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - |
| M | audio/transport.h | | | 3 | +- - |
22 files changed, 194 insertions(+), 281 deletions(-)