sim_alsa: set paused to false when executing close
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
This commit is contained in:
parent
05f7b7ac97
commit
15c1c9d42e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue