mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
source: Bring rate update code in sync with sink code
Basically adds code to handle passthrough sources. This isn't a tested path at the moment, but in the future, when we do wish to support these, it'll save us the trouble of having to sync all the code again.
This commit is contained in:
parent
b232fbd8f8
commit
b9ff90fef8
4 changed files with 32 additions and 21 deletions
|
|
@ -367,7 +367,7 @@ pa_bool_t pa_source_get_mute(pa_source *source, pa_bool_t force_refresh);
|
|||
pa_bool_t pa_source_update_proplist(pa_source *s, pa_update_mode_t mode, pa_proplist *p);
|
||||
|
||||
int pa_source_set_port(pa_source *s, const char *name, pa_bool_t save);
|
||||
pa_bool_t pa_source_update_rate(pa_source *s, uint32_t rate);
|
||||
pa_bool_t pa_source_update_rate(pa_source *s, uint32_t rate, pa_bool_t passthrough);
|
||||
|
||||
unsigned pa_source_linked_by(pa_source *s); /* Number of connected streams */
|
||||
unsigned pa_source_used_by(pa_source *s); /* Number of connected streams that are not corked */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue