mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
ALSA: pcm - Fix a typo in hw_ptr update check
Fix a typo in the commit 13f040f9e5
ALSA: PCM midlevel: Do not update hw_ptr_jiffies when hw_ptr is not changed
which causes obvious problems with PA.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a4444da31e
commit
d86bf92313
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream)
|
|||
runtime->silence_size > 0)
|
||||
snd_pcm_playback_silence(substream, new_hw_ptr);
|
||||
|
||||
if (runtime->status->hw_ptr != new_hw_ptr)
|
||||
if (runtime->status->hw_ptr == new_hw_ptr)
|
||||
return 0;
|
||||
|
||||
runtime->hw_ptr_base = hw_base;
|
||||
|
|
Loading…
Reference in a new issue