diff options
author | huan zheng <huan.zheng.zbt@gmail.com> | 2010-01-06 00:21:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-06 00:22:23 +0100 |
commit | aa9348441db34b787784711f19882d6c42fa315d (patch) | |
tree | a2e1d2ef83d09e8edde1579d1e9459e47381432e /src/pulsecore/random.c | |
parent | 6dfb1ee27e031528891696c83230d4513c55b554 (diff) |
core: volume ramping fix
Hi,
I found that volume ramping is inside PA now.
there's a minor fix here, it is a bug i found after the patch is submitted:
line 1781 of sink-input.c :
if ((i->thread_info.ramp_info.envelope_dying - nbytes) <= 0) {
need to be changed to
if ((i->thread_info.ramp_info.envelope_dying - (ssize_t) nbytes) <= 0) {
otherwise this argument will never be negative since nbytes is of type
size_t which is unsigned.
Please change it when you have time, sorry if bring any inconvenience. :)
Diffstat (limited to 'src/pulsecore/random.c')
0 files changed, 0 insertions, 0 deletions