summaryrefslogtreecommitdiffstats
path: root/binding/afm-mediaplayer-binding.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-10-12 15:17:11 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-10-13 21:42:26 -0700
commit3c8e3621c79e108d4ab46b29bdaebb000f139274 (patch)
treec9ef3d39d33463fb74e5d9b6c0605900efbbe237 /binding/afm-mediaplayer-binding.c
parentc4525662e45b66cf95822d485566df01c0d7dfac (diff)
binding: mediaplayer: save volume setting
Volume setting wasn't saved before this patchset fixes this Bug-AGL: SPEC-931 Change-Id: Ib810135bd9d0617bfb3ccc99de66f46e025f94fd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/afm-mediaplayer-binding.c')
-rw-r--r--binding/afm-mediaplayer-binding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c
index a60d702..7127a50 100644
--- a/binding/afm-mediaplayer-binding.c
+++ b/binding/afm-mediaplayer-binding.c
@@ -349,6 +349,8 @@ static void controls(struct afb_req request)
g_object_set(data.playbin, "volume", volume / 100.0, NULL);
+ data.volume = volume;
+
break;
}
default: