mbox series

[alsa-lib,0/4] pcm: Fix missing appl_ptr and hw_ptr updates in snd_pcm_status()

Message ID 20210122144842.8843-1-tiwai@suse.de (mailing list archive)
Headers show
Series pcm: Fix missing appl_ptr and hw_ptr updates in snd_pcm_status() | expand

Message

Takashi Iwai Jan. 22, 2021, 2:48 p.m. UTC
Hi,

here is the fixes for a crash with dmix plugin and co, as well as the
missing appl_ptr/hw_ptr updates that are found on other plugins.


Takashi

===

Takashi Iwai (4):
  pcm: direct: Fix the missing appl_ptr update
  pcm: ioplug: Pass appl_ptr and hw_ptr in snd_pcm_status()
  pcm: null: Pass appl_ptr and hw_ptr in snd_pcm_status()
  pcm: share: Pass appl_ptr and hw_ptr in snd_pcm_status()

 src/pcm/pcm_dmix.c   | 1 +
 src/pcm/pcm_dshare.c | 1 +
 src/pcm/pcm_dsnoop.c | 1 +
 src/pcm/pcm_ioplug.c | 2 ++
 src/pcm/pcm_null.c   | 2 ++
 src/pcm/pcm_share.c  | 2 ++
 6 files changed, 9 insertions(+)

Comments

Jaroslav Kysela Jan. 22, 2021, 5 p.m. UTC | #1
Dne 22. 01. 21 v 15:48 Takashi Iwai napsal(a):
> Hi,
> 
> here is the fixes for a crash with dmix plugin and co, as well as the
> missing appl_ptr/hw_ptr updates that are found on other plugins.

It looks all correct. Dunno why it passed this in my tests. I applied all
changes to alsa-lib's repo.

				Thank you,
					Jaroslav