mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa-pcm: improve recover from suspended state debug
This commit is contained in:
parent
64be5bb617
commit
ddfb310087
1 changed files with 6 additions and 2 deletions
|
|
@ -650,9 +650,13 @@ static int alsa_recover(struct state *state, int err)
|
||||||
state->sample_count += missing ? missing : state->threshold;
|
state->sample_count += missing ? missing : state->threshold;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SND_PCM_STATE_SUSPENDED:
|
||||||
|
spa_log_info(state->log, NAME" %p: recover from state %s",
|
||||||
|
state, snd_pcm_state_name(st));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
spa_log_error(state->log, NAME" %p: recover from error state %d",
|
spa_log_error(state->log, NAME" %p: recover from error state %s",
|
||||||
state, st);
|
state, snd_pcm_state_name(st));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue