mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
sink-input,source-output: Add an update_rate() function
This factors out the resampler updating code from finish_move() and makes a separate function for use from other points.
This commit is contained in:
parent
75573435a0
commit
8616f82a67
4 changed files with 136 additions and 105 deletions
|
|
@ -301,6 +301,7 @@ pa_usec_t pa_source_output_set_requested_latency(pa_source_output *o, pa_usec_t
|
|||
void pa_source_output_cork(pa_source_output *o, pa_bool_t b);
|
||||
|
||||
int pa_source_output_set_rate(pa_source_output *o, uint32_t rate);
|
||||
int pa_source_output_update_rate(pa_source_output *o);
|
||||
|
||||
size_t pa_source_output_get_max_rewind(pa_source_output *o);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue