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
|
|
@ -338,6 +338,7 @@ void pa_sink_input_request_rewind(pa_sink_input *i, size_t nbytes, pa_bool_t rew
|
|||
void pa_sink_input_cork(pa_sink_input *i, pa_bool_t b);
|
||||
|
||||
int pa_sink_input_set_rate(pa_sink_input *i, uint32_t rate);
|
||||
int pa_sink_input_update_rate(pa_sink_input *i);
|
||||
|
||||
/* This returns the sink's fields converted into out sample type */
|
||||
size_t pa_sink_input_get_max_rewind(pa_sink_input *i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue