audio: set sink volume to workaround alsa save/restore issue

This commit is contained in:
Dmitry Fedorov 2020-07-08 13:18:38 +03:00
parent 2fe57b6281
commit 0cf5fe55c2
No known key found for this signature in database
GPG Key ID: C61C7F61C4D85F8D

View File

@ -614,6 +614,8 @@ class TC_00_AppVMMixin(object):
self.testvm1.virt_mode = 'hvm'
self.testvm1.features['audio-model'] = 'ich6'
self.prepare_audio_vm()
self.loop.run_until_complete(
self.testvm1.run_for_stdio('pacmd set-sink-volume 1 0x10000'))
self.loop.run_until_complete(
self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink'))
self.common_audio_record_unmuted()