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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux