Searched hist:ea33d359c4421f369443f6fee92a1e893541eb73 (Results 1 – 2 of 2) sorted by relevance
/linux/sound/usb/ |
H A D | card.h | ea33d359c4421f369443f6fee92a1e893541eb73 Fri Feb 06 21:55:53 UTC 2015 Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> ALSA: usb: update trigger timestamp on first non-zero URB submitted
The first URBs are submitted during the prepare stage. When .trigger is called, the ALSA core saves a trigger tstamp that doesn't correspond to the actual time when the samples are submitted. The trigger_tstamp is now updated when the first data are submitted to avoid any time offsets.
A usb-specific trigger_tstamp_pending_update flag is used for now, at some point the flag would need to move to the ALSA core, USB is not the only interface where silent block transfers are programmed as part of the prepare stage, with actual data enabled when .trigger is called.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | pcm.c | ea33d359c4421f369443f6fee92a1e893541eb73 Fri Feb 06 21:55:53 UTC 2015 Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> ALSA: usb: update trigger timestamp on first non-zero URB submitted
The first URBs are submitted during the prepare stage. When .trigger is called, the ALSA core saves a trigger tstamp that doesn't correspond to the actual time when the samples are submitted. The trigger_tstamp is now updated when the first data are submitted to avoid any time offsets.
A usb-specific trigger_tstamp_pending_update flag is used for now, at some point the flag would need to move to the ALSA core, USB is not the only interface where silent block transfers are programmed as part of the prepare stage, with actual data enabled when .trigger is called.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|