Merge remote-tracking branch 'origin/pr/348'

* origin/pr/348:
  add audio-model feature
This commit is contained in:
Marek Marczykowski-Górecki 2020-07-10 11:03:46 +02:00
commit f7c0c70877
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -189,6 +189,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') }}"/>