From f1d82ed105eeb4a49961827bb8c8aa7e44ef5957 Mon Sep 17 00:00:00 2001 From: liuyahui Date: Tue, 8 Jun 2021 15:20:13 +0800 Subject: resolve the test api for audiomixer service module Bug-AGL: SPEC-3974 Signed-off-by: liuyahui Change-Id: I74393366c2136304d61b32f802c6a02243d49f30 --- pyagl/services/audiomixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyagl/services/audiomixer.py b/pyagl/services/audiomixer.py index 23d382e..fa9a7fd 100644 --- a/pyagl/services/audiomixer.py +++ b/pyagl/services/audiomixer.py @@ -63,7 +63,7 @@ async def main(): print(r) if args.setvolume is not None: - resp = await ams.volume(args.setvolume) + resp = await ams.volume(value=args.setvolume) print(f'Setting volume to {args.setvolume} with id {resp}') r = await ams.afbresponse() print(r) -- cgit 1.2.3-korg