]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: Fix snd_pcm_status() for dmix & co
authorTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2015 14:47:50 +0000 (16:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2015 14:47:50 +0000 (16:47 +0200)
commit18ce3ec9caa266086c5f364a2bdbab27a8db9d77
treeb9575e9f89a9c9149b0b63f6cdace04dc9d115cf
parenta5e5e3cd3c85eafcced7a93b1cf37201560f2a28
pcm: Fix snd_pcm_status() for dmix & co

Fetch the timestamp and other status fields by issuing
snd_pcm_status() for the slave PCM.  Also, fill the delay field
properly.  This should fix longstanding PA's complaints.

Reported-by: Dan Hordern <danhordern@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c