diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-02-27 23:01:54 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-02-28 17:11:31 +0530 |
commit | 8745eccb453a1f92bc5f59ff01b2f59fdec65d0b (patch) | |
tree | b3cb69f5258ab902bceefa709691ebd1d3d2f747 /src/pulsecore/sink-input.c | |
parent | bed4b73cfe99b2be5da2f2b0937e9c24699418d3 (diff) |
Revert "core: volume ramping fix"
This reverts commit aa9348441db34b787784711f19882d6c42fa315d.
(part of a patch series removing all ramping code)
Diffstat (limited to 'src/pulsecore/sink-input.c')
-rw-r--r-- | src/pulsecore/sink-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 0c421da3..028f0f69 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -2003,7 +2003,7 @@ static void sink_input_rewind_ramp_info(pa_sink_input *i, size_t nbytes) { i->thread_info.ramp_info.is_ramping = TRUE; } } else if (i->thread_info.ramp_info.envelope_dying < envelope_length) { - if ((i->thread_info.ramp_info.envelope_dying - (ssize_t) nbytes) <= 0) { + if ((i->thread_info.ramp_info.envelope_dying - nbytes) <= 0) { pa_log_debug("Envelope Restart"); pa_envelope_restart(i->thread_info.ramp_info.envelope); } |