QEMU/Devices/Sound cards: Difference between revisions

From Computernewb Wiki
Jump to navigation Jump to search
m (...from about the same time, early 2000s)
(→‎i386/x86-64: https://www.cebix.net/downloads/bebox/cs4231a.pdf says cs4321A is indeed ISA)
Line 42: Line 42:
| cs4321a
| cs4321a
| Crystal CS4321A
| Crystal CS4321A
| ISA?
| ISA
| A Windows Sound System compatible ISA codec.
|
| Windows: Windows 3.1?<br>Linux: ?<br>DOS: ?
| Windows: Windows 3.1?<br>Linux: ?<br>DOS: ?
|-
|-

Revision as of 07:39, 28 August 2024

Sound cards can be added easily to QEMU virtual machines easily through using -audio or the removed since QEMU 7.0 -soundhw argument.

How to add a sound card

QEMU 7 and above:

You can add a card with the following:

qemu-system-(arch) -audio driver={output_driver},model={sound_card_model},id={id}

output_driver and id are the same as -audiodev {output_driver},{id} in older versions with their respective arguments.

QEMU versions before 7.0:

You can add a card with the following:

qemu-system-(arch) -soundhw (sound_card_model)

Devices

i386/x86-64

Model Name Bus Notes Minimum OS
ac97 Intel(r) 82801AA AC'97 PCI 64-bit versions of Windows 7 and later require a third-party driver for AC'97 support Windows: Windows 95
Linux: ?
DOS: Requires per-application support
adlib Yamaha YM3812/Adlib [OPL2] ISA Low-cost sound chip developed by Yahama, not useful outside of really old OSes Windows: Windows 3.1
Linux: ?
DOS: Requires per-application support
all All sound cards ISA/PCI Enables every single sound card N/A
cs4321a Crystal CS4321A ISA A Windows Sound System compatible ISA codec. Windows: Windows 3.1?
Linux: ?
DOS: ?
es1370 ENSONIQ AudioPCI ES1370 PCI PCI card from 1997, has DirectSound3D support, supports .ecw file format playback Windows: Windows 98
Linux: Mandrake 8.2, maybe others
DOS: ?
gus Gravis Ultrasound GF1 ISA Sound card from 1992, very popular demoscene card Windows: Windows 3.1
Linux: ?
DOS: Requires per-application support
hda Intel HD Audio PCI Supported natively since Windows XP SP3 (can be installed on Windows 2000 with a separate driver). This card is recommended for more modern Windows and Linux hosts, i.e. Windows 7+ or Debian 10+. Windows: Windows 2000
Linux: supported in nearly every modern distro
DOS: Requires per-application support
pcspk PC Speaker None Generic PC speaker, works on everything All
sb16 SoundBlaster 16 ISA Very popular and famous card from the early 1990s - most emulators, including QEMU, support this card. It is recommended for use in older hosts, such as Windows 98, Debian 5, or DOS. All