QEMU/Devices/Sound cards: Difference between revisions

m
...from about the same time, early 2000s
m (reword first line)
m (...from about the same time, early 2000s)
 
(6 intermediate revisions by 2 users not shown)
Sound cards can be added easily to QEMU virtual machines easily through using <code>-audio</code> or the removed-in-qemu- since QEMU 7.0 <code>-soundhw</code> argument.
 
==How to add a sound card==
===QEMU 7 and above:===
 
<pre>-audio driver={output_driver},model={sound_card_model},id={id}</pre>
You can add a card with the following:
 
<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:===
<hr>
 
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==
===i386/x86-64===
| PCI
| PCI card from 1997, has DirectSound3D support, supports .ecw file format playback
| Windows: Windows 98<br>Linux: ?Mandrake 8.2, maybe others<br>DOS: ?
|-
| gus