aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliuyahui <liuyh.fnst@fujitsu.com>2021-06-08 15:20:13 +0800
committerliuyahui <liuyh.fnst@fujitsu.com>2021-06-08 15:20:13 +0800
commitf1d82ed105eeb4a49961827bb8c8aa7e44ef5957 (patch)
treea1f9681e5db24e820ba5e338bb4672229bcb4aef
parent9f132032cd2896cc4024cac7e7a481baad7a920e (diff)
resolve the test api for audiomixer service module
Bug-AGL: SPEC-3974 Signed-off-by: liuyahui <liuyh.fnst@fujitsu.com> Change-Id: I74393366c2136304d61b32f802c6a02243d49f30
-rw-r--r--pyagl/services/audiomixer.py2
1 files changed, 1 insertions, 1 deletions
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)