[pulseaudio-discuss] [PATCH] bluetooth-device: fix rounding errors caused by few bt volume steps

Juho Hämäläinen juho.hamalainen at tieto.com
Mon Apr 4 05:24:17 PDT 2011


When volume changes in bluetooth device PulseAudio volume is rounded
one too low, so if bluetooth headset changes volume and that volume
is immediately set again for bluetooth device, bluetooth step drifts
lower all the time. Volume is incremented by one in the conversion so
that we get right bluetooth step when re-applying volume.

Signed-off-by: Juho Hämäläinen <ext-juho.hamalainen at nokia.com>
---
  src/modules/bluetooth/module-bluetooth-device.c |   48 
+++++++++++++++++-----
  1 files changed, 37 insertions(+), 11 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bluetooth-device-fix-rounding-errors-caused-by-few-b.patch
Type: text/x-patch
Size: 4607 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110404/4ecc3fd7/attachment.bin>


More information about the pulseaudio-discuss mailing list