mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
Revert "core: volume ramping fix"
This reverts commit aa9348441d.
(part of a patch series removing all ramping code)
This commit is contained in:
parent
bed4b73cfe
commit
8745eccb45
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue