[alsa-devel] [PATCH 4/6] pcm: status dump fix timestamp formatting

Takashi Iwai tiwai at suse.de
Fri Feb 17 18:45:59 CET 2017


On Fri, 17 Feb 2017 08:17:36 +0100,
sutar.mounesh at gmail.com wrote:
> 
> From: Andreas Pape <apape at de.adit-jv.com>
> 
> nanosecond part formatted with %06 will give incorrect/confusing results:
> 
> trigger_time: 154.9748287
> trigger_time: 154.60109090
> trigger_time: 154.110425257
> 
> time seems to run backwards...
> 
> This patch converts to us before printing
> which gives the correct/expected result:
> 
> trigger_time: 154.009748
> trigger_time: 154.060109
> trigger_time: 154.110425
> 
> Signed-off-by: Andreas Pape <apape at de.adit-jv.com>
> Signed-off-by: Mounesh Sutar <sutar.mounesh at gmail.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list