QEMU/Devices/Sound cards: Difference between revisions

you slutbag
No edit summary
(you slutbag)
==How to add a sound card==
QEMU 7 and above:
You can add a card with the following:\n<pre>qemu-system-(arch) <pre>-audio driver={output_driver},model={sound_card_model},id={id}</pre>
<pre>qemu-system-(arch) -audio driver={output_driver},model={sound_card_model},id={id}</pre>
 
<kbd>output_driver</kbd> and <kbd>id</kbd> are the same as <kbd>-audiodev {output_driver},{id}</kbd> in older versions with their respective arguments.
 
QEMU versions before 7.0:
You can add a card with the following:\n<pre>qemu-system-(arch) -soundhw (sound_card_model)</pre>
<pre>qemu-system-(arch) -soundhw (sound_card_model)</pre>
 
==Devices==