sim_alsa: set paused to false when executing close

Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
This commit is contained in:
yangsen5 2024-12-16 15:27:49 +08:00 committed by Xiang Xiao
parent b57006e567
commit cec499fa9a

View file

@ -303,6 +303,7 @@ static int sim_audio_close(struct sim_audio_s *priv)
host_uninterruptible(snd_pcm_close, priv->pcm);
priv->pcm = NULL;
priv->paused = false;
return 0;
}