mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
sink,source: Add a helper function to check whether this is a filter
This commit is contained in:
parent
5adb126259
commit
81f7589a3f
5 changed files with 22 additions and 4 deletions
|
|
@ -371,6 +371,8 @@ bool pa_source_flat_volume_enabled(pa_source *s);
|
|||
/* Get the master source when sharing volumes */
|
||||
pa_source *pa_source_get_master(pa_source *s);
|
||||
|
||||
bool pa_source_is_filter(pa_source *s);
|
||||
|
||||
/* Is the source in passthrough mode? (that is, is this a monitor source for a sink
|
||||
* that has a passthrough sink input connected to it. */
|
||||
bool pa_source_is_passthrough(pa_source *s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue