mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
resampler: Make some basic functions for rewinding
The resampler framework just forwards the request to the lfe filter. There are no resampler impl that can rewind yet, so just reset the resampler impl instead of properly rewinding yet. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
defc2b702b
commit
7fb531d936
4 changed files with 22 additions and 5 deletions
|
|
@ -145,6 +145,9 @@ void pa_resampler_set_output_rate(pa_resampler *r, uint32_t rate);
|
|||
/* Reinitialize state of the resampler, possibly due to seeking or other discontinuities */
|
||||
void pa_resampler_reset(pa_resampler *r);
|
||||
|
||||
/* Rewind resampler */
|
||||
void pa_resampler_rewind(pa_resampler *r, size_t out_frames);
|
||||
|
||||
/* Return the resampling method of the resampler object */
|
||||
pa_resample_method_t pa_resampler_get_method(pa_resampler *r);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue