From 32b2b057fd1a17a7ce1bce6bd1d88946e10720c0 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 25 May 2012 18:02:46 +0300 Subject: [PATCH] audio: Fix signature type for transport Volume Signature is now uint16 instead of byte --- audio/transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/transport.c b/audio/transport.c index 4ad86082a..ac9d3587c 100644 --- a/audio/transport.c +++ b/audio/transport.c @@ -77,7 +77,7 @@ struct media_transport { uint16_t omtu; /* Transport output mtu */ uint16_t delay; /* Transport delay (a2dp only) */ unsigned int nrec_id; /* Transport nrec watch (headset only) */ - uint8_t volume; /* Transport volume */ + uint16_t volume; /* Transport volume */ gboolean read_lock; gboolean write_lock; gboolean in_use; @@ -1076,5 +1076,5 @@ void media_transport_update_volume(struct media_transport *transport, emit_property_changed(transport->conn, transport->path, MEDIA_TRANSPORT_INTERFACE, "Volume", - DBUS_TYPE_BYTE, &transport->volume); + DBUS_TYPE_UINT16, &transport->volume); } -- 2.47.3