Home
last modified time | relevance | path

Searched refs:merged_cause (Results 1 – 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dsource.c839 pa_suspend_cause_t merged_cause; in pa_source_suspend() local
850 merged_cause = s->suspend_cause | cause; in pa_source_suspend()
852 merged_cause = s->suspend_cause & ~cause; in pa_source_suspend()
854 if (merged_cause) in pa_source_suspend()
855 return source_set_state(s, PA_SOURCE_SUSPENDED, merged_cause); in pa_source_suspend()
Dsink.c920 pa_suspend_cause_t merged_cause; in pa_sink_suspend() local
928 merged_cause = s->suspend_cause | cause; in pa_sink_suspend()
930 merged_cause = s->suspend_cause & ~cause; in pa_sink_suspend()
932 if (merged_cause) in pa_sink_suspend()
933 return sink_set_state(s, PA_SINK_SUSPENDED, merged_cause); in pa_sink_suspend()