[pulseaudio-discuss] [PATCH 0/7] Working around bad decibel information

Tanu Kaskinen tanu.kaskinen at digia.com
Fri Mar 4 07:42:06 PST 2011


Here's a pile of patches. The first two implement the concept of "decibel
fixes" for alsa devices. A decibel fix is basically a table that maps the
raw volume steps of a mixer element to manually configured decibel values.

The rest of the patches are random fixes that have piled up while testing
the decibel fix patches. The pacat memory leak fix hasn't been verified
that it works (it's just a quick fix to a seemingly obvious, but difficult to
test bug), otherwise I have tested the fixes.

Tanu Kaskinen (7):
  alsa-mixer: Add DecibelFix section to the profile set config file
    format.
  alsa-mixer: Use decibel fixes when getting and setting decibel
    volumes.
  pacat: Fix memory leak when draining the context.
  alsa-mixer: Add a default case for a switch, so that the compiler
    won't complain about unhandled cases.
  alsa-card: Print the profile set configuration when loading the card.
  dbusiface-stream: Fix crash when there's no resampling used.
  dbus: Always accept mono volumes when setting device or stream
    volume.

 src/modules/alsa/alsa-mixer.c                    |  500 +++++++++++++++++++---
 src/modules/alsa/alsa-mixer.h                    |   27 +-
 src/modules/alsa/mixer/profile-sets/default.conf |   49 ++-
 src/modules/alsa/module-alsa-card.c              |    1 +
 src/modules/dbus/iface-device.c                  |    9 +-
 src/modules/dbus/iface-stream.c                  |   14 +-
 src/utils/pacat.c                                |    4 +-
 7 files changed, 517 insertions(+), 87 deletions(-)

-- 
1.7.4.1




More information about the pulseaudio-discuss mailing list