Skip to content

Allow hw/audio drivers to pass raw DB values to audio/ drivers

Yaroslav Isakov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Allow audio driver to pass DB value to underlying driversaudio/audio.c audio/audio.h audio/mixeng.h +7 more+49 -210 replies
2/3Pass raw DB values from hda-codec.c to audio driverhw/audio/hda-codec.c+6 -21 reply
3/3If raw DB values are known, use them in paaudioaudio/paaudio.c+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] Allow hw/audio drivers to pass raw DB values to audio/ drivers

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(-)
Signature · 1 line
2.18.1