ALSA: core: group read of pointer, tstamp and jiffies
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 22 May 2012 19:54:02 +0000 (14:54 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2012 23:50:29 +0000 (01:50 +0200)
commit3509a03f4dcf7fedb8880180fed3f7f791ce5598
tree9be4d6f21e9fe84926b96b39fbb825c537168011
parent599ed4b0aeceb6d45ea33f64639e745e3da72766
ALSA: core: group read of pointer, tstamp and jiffies

Group read of hw_ptr, tstamp and jiffies in a sequence
for better correlation. Previous code took timestamp at the
end, which could introduce delays between audio time and
system time.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c