]> git.proxmox.com Git - mirror_qemu.git/commit
audio: add Apple Sound Chip (ASC) emulation
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 4 Oct 2023 08:37:53 +0000 (09:37 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 6 Oct 2023 08:33:43 +0000 (10:33 +0200)
commitac13a6b3fd7421606822bd20c7d847c0756fd32d
tree6f1be9e7d0b3849bf2031e93ef2de840d877fddf
parent6997f26d0dfd11f27a42caa04c3a20287452f364
audio: add Apple Sound Chip (ASC) emulation

The Apple Sound Chip was primarily used by the Macintosh II to generate sound
in hardware which was previously handled by the toolbox ROM with software
interrupts.

Implement both the standard ASC and also the enhanced ASC (EASC) functionality
which is used in the Quadra 800.

Note that whilst real ASC hardware uses AUDIO_FORMAT_S8, this implementation uses
AUDIO_FORMAT_U8 instead because AUDIO_FORMAT_S8 is rarely used and not supported
by some audio backends like PulseAudio and DirectSound when played directly with
-audiodev out.mixing-engine=off.

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Co-developed-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20231004083806.757242-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
MAINTAINERS
hw/audio/Kconfig
hw/audio/asc.c [new file with mode: 0644]
hw/audio/meson.build
hw/audio/trace-events
hw/m68k/Kconfig
include/hw/audio/asc.h [new file with mode: 0644]