add audio-model feature

This commit is contained in:
Dmitry Fedorov 2020-05-29 12:09:40 +03:00
parent b889bf98f4
commit 01fc33e4df
No known key found for this signature in database
GPG Key ID: C61C7F61C4D85F8D

View File

@ -188,6 +188,9 @@
{% endif %} {% endif %}
/> />
<input type="tablet" bus="usb"/> <input type="tablet" bus="usb"/>
{% if vm.features.check_with_template('audio-model', False) %}
<sound model="{{ vm.features.check_with_template('audio-model', False) }}"/>
{% endif %}
{% if vm.features.check_with_template('video-model', 'vga') != 'none' %} {% if vm.features.check_with_template('video-model', 'vga') != 'none' %}
<video> <video>
<model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/> <model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/>