ALSA: hda - Apply codec delay to wallclock.
authorDylan Reid <dgreid@chromium.org>
Tue, 9 Apr 2013 01:20:30 +0000 (18:20 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 9 Apr 2013 06:03:22 +0000 (08:03 +0200)
commit78daea29f2e5312bce9d7781a5400026b71ed29b
tree5fd4b8ec656f4cb5cdc2d4360cb08a1351badef5
parent423970042e0710cdb4f7135f1ed614b956239a91
ALSA: hda - Apply codec delay to wallclock.

For playback add the codec-side delay to the timestamp, for capture
subtract it.  This brings the timestamps in line with the time that
was recently added to the delay reporting.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c