From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaSX1-00010r-0J for qemu-devel@nongnu.org; Fri, 21 Dec 2018 16:40:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaSWw-0008OX-Px for qemu-devel@nongnu.org; Fri, 21 Dec 2018 16:40:30 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:40202) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gaSWv-0008MW-FF for qemu-devel@nongnu.org; Fri, 21 Dec 2018 16:40:26 -0500 Received: by mail-wr1-x443.google.com with SMTP id p4so6653785wrt.7 for ; Fri, 21 Dec 2018 13:40:23 -0800 (PST) Received: from localhost ([91.201.22.4]) by smtp.gmail.com with ESMTPSA id g67sm14292624wmd.38.2018.12.21.13.40.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Dec 2018 13:40:22 -0800 (PST) Message-Id: From: Yaroslav Isakov Date: Fri, 21 Dec 2018 22:14:42 +0100 Subject: [Qemu-devel] [PATCH 0/3] Allow hw/audio drivers to pass raw DB values to audio/ drivers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch series introduces the ability for virtual audio drivers to pass information about guest-chosen DB values to backend audio drivers. For now, supported virtual driver is hda-codec, and backend is pulseaudio, as they both support DB values. Without these patches, emulated Windows has a very short range of hearable sound, as range in the guest is much smaller than in Pulseaudio. Yaroslav Isakov (3): Allow audio driver to pass DB value to underlying drivers Pass raw DB values from hda-codec.c to audio driver If raw DB values are known, use them in paaudio audio/audio.c | 15 +++++++++++++-- audio/audio.h | 6 ++++-- audio/mixeng.h | 6 ++++-- audio/paaudio.c | 9 +++++++-- hw/audio/ac97.c | 4 ++-- hw/audio/hda-codec-common.h | 2 +- hw/audio/hda-codec.c | 12 ++++++++++-- hw/audio/lm4549.c | 2 +- hw/audio/wm8750.c | 18 ++++++++++++------ hw/display/xlnx_dp.c | 3 ++- hw/usb/dev-audio.c | 6 ++++-- 11 files changed, 60 insertions(+), 23 deletions(-) -- 2.18.1