]> git.proxmox.com Git - mirror_qemu.git/commit
hw/audio/hda-codec: reenable the audio mixer
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 5 Nov 2023 17:25:52 +0000 (18:25 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 2 Dec 2023 20:56:49 +0000 (15:56 -0500)
commite60bdfb78e41b0cee8beb21bc9c2bb2749f4ef6b
tree476c8319c5460e053daf82fa956fdfb124fcfdaf
parent74e8593e7e51d6b11ae9c56a3f4e7bb714bac4ec
hw/audio/hda-codec: reenable the audio mixer

Commit b7639b7dd0 ("hw/audio: Simplify hda audio init") inverted
the sense of hda codec property mixer during initialization.
Change the code so that mixer=on enables the hda mixer emulation
and mixer=off disables the hda mixer emulation.

With this change audio playback and recording streams don't start
muted by default.

Fixes: b7639b7dd0 ("hw/audio: Simplify hda audio init")
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20231105172552.8405-2-vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/audio/hda-codec.c