Rewind and resampler fixes
This patch set tries to resolve rewind issues that lead to crackling during volume changes. Currently there are three situations where rewind problems arise:
- When a sink input is rewound, the resampler is reset instead of rewound
- When a source output is rewound, the resampler latency is not taken into account
- Filter sinks (ladspa/equalizer/virtual-surround/echo-cancel) may have non-rewindable DSP code
This patch set addresses the first two situations. As a side effect, support for the soxr resamplers is improved.
The last two patches are in preparation of letting virtual sinks provide their own max_rewind value.
Closes #981 (closed)