mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
sink, source: Fix error reporting style for rate updates
This commit is contained in:
parent
a32c5e4354
commit
441a5a422c
8 changed files with 41 additions and 41 deletions
|
|
@ -187,7 +187,7 @@ struct pa_source {
|
|||
|
||||
/* Called whenever the sampling frequency shall be changed. Called from
|
||||
* main thread. */
|
||||
bool (*update_rate)(pa_source *s, uint32_t rate);
|
||||
int (*update_rate)(pa_source *s, uint32_t rate);
|
||||
|
||||
/* Contains copies of the above data so that the real-time worker
|
||||
* thread can work without access locking */
|
||||
|
|
@ -382,7 +382,7 @@ bool pa_source_update_proplist(pa_source *s, pa_update_mode_t mode, pa_proplist
|
|||
int pa_source_set_port(pa_source *s, const char *name, bool save);
|
||||
void pa_source_set_mixer_dirty(pa_source *s, bool is_dirty);
|
||||
|
||||
bool pa_source_update_rate(pa_source *s, uint32_t rate, bool passthrough);
|
||||
int pa_source_update_rate(pa_source *s, uint32_t rate, bool 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