alsa: remove unused variable

This commit is contained in:
Wim Taymans 2024-11-14 12:03:55 +01:00
parent ff984da67c
commit 0266b82e78
2 changed files with 0 additions and 4 deletions

View file

@ -2481,7 +2481,6 @@ static int do_prepare(struct state *state)
reset_buffers(state); reset_buffers(state);
state->alsa_sync = true; state->alsa_sync = true;
state->alsa_sync_warning = false; state->alsa_sync_warning = false;
state->alsa_recovering = false;
state->alsa_started = false; state->alsa_started = false;
return 0; return 0;
@ -2622,8 +2621,6 @@ static int get_avail(struct state *state, uint64_t current_time, snd_pcm_uframes
} }
avail = state->threshold * 2; avail = state->threshold * 2;
} }
} else {
state->alsa_recovering = false;
} }
*delay = avail; *delay = avail;

View file

@ -211,7 +211,6 @@ struct state {
unsigned int alsa_started:1; unsigned int alsa_started:1;
unsigned int alsa_sync:1; unsigned int alsa_sync:1;
unsigned int alsa_sync_warning:1; unsigned int alsa_sync_warning:1;
unsigned int alsa_recovering:1;
unsigned int following:1; unsigned int following:1;
unsigned int matching:1; unsigned int matching:1;
unsigned int resample:1; unsigned int resample:1;