Lines Matching refs:resuming
415 bool resuming;
429 resuming = s->state == PA_SINK_SUSPENDED && PA_SINK_IS_OPENED(state);
431 /* If we are resuming, suspend_cause must be 0. */
432 pa_assert(!resuming || !suspend_cause);
435 * resuming the sink fails? The old suspend cause will be incorrect, so we
444 /* set_state_in_main_thread() is allowed to fail only when resuming. */
445 pa_assert(resuming);
447 /* If resuming fails, we set the state to SUSPENDED and
453 resuming = false;
466 /* SET_STATE is allowed to fail only when resuming. */
467 pa_assert(resuming);
472 /* If resuming fails, we set the state to SUSPENDED and
478 resuming = false;
510 if (suspending || resuming || suspend_cause_changed) {
514 /* We're suspending or resuming, tell everyone about it */
524 if ((suspending || resuming || suspend_cause_changed) && s->monitor_source && state != PA_SINK_UNLINKED)