[PATCH BlueZ 02/11] transport: Store the value set through the 'Volume' property

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

 



---
 profiles/audio/transport.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index 6ffa98a..f3caa1b 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -658,6 +658,8 @@ static void set_volume(const GDBusPropertyTable *property,
 	if (a2dp->volume != volume)
 		avrcp_set_volume(transport->device, volume);
 
+	a2dp->volume = volume;
+
 	g_dbus_pending_property_success(id);
 }
 
-- 
1.7.11.7

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