]> git.alsa-project.org Git - alsa-lib.git/commit
Fix timestamp in status in PCM direct plugins
authorTakashi Iwai <tiwai@suse.de>
Wed, 21 Nov 2007 11:10:35 +0000 (12:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 21 Nov 2007 11:10:35 +0000 (12:10 +0100)
commit7379b061eb3e7eac28b08ad59bcf76d44feb60ad
tree7b0bedb6f8988fcdc342b62ac99c50314f462a40
parentb0b7d0280f977dee1bbff0a1b4cd0c50068d2371
Fix timestamp in status in PCM direct plugins

PCM direct plugins didn't update the timestamp properly.
Now it always starts the slave PCM with MMAP tstamp_mode so that the
timestamp will be being updated.  When a client is set up as MMAP
tstamp_mode as well, simply copy this slave timestamp.  Otherwise
status callback calculates the current timestamp as usual.
src/pcm/pcm_direct.c
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c