diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c index c550c0c76..22d138057 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -650,9 +650,13 @@ static int alsa_recover(struct state *state, int err) state->sample_count += missing ? missing : state->threshold; 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: - spa_log_error(state->log, NAME" %p: recover from error state %d", - state, st); + spa_log_error(state->log, NAME" %p: recover from error state %s", + state, snd_pcm_state_name(st)); break; }