Lines Matching refs:resuming
366 bool resuming;
380 resuming = s->state == PA_SOURCE_SUSPENDED && PA_SOURCE_IS_OPENED(state);
382 /* If we are resuming, suspend_cause must be 0. */
383 pa_assert(!resuming || !suspend_cause);
386 * resuming the source fails? The old suspend cause will be incorrect, so we
395 /* set_state_in_main_thread() is allowed to fail only when resuming. */
396 pa_assert(resuming);
398 /* If resuming fails, we set the state to SUSPENDED and
404 resuming = false;
417 /* SET_STATE is allowed to fail only when resuming. */
418 pa_assert(resuming);
423 /* If resuming fails, we set the state to SUSPENDED and
429 resuming = false;
461 if (suspending || resuming || suspend_cause_changed) {
465 /* We're suspending or resuming, tell everyone about it */