first and last audio sample timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Please keep me in CC as I'm not subscribed to the list]

Hi All,



Hello all,


I’m using aplay and arecord utilities for playback and capture. I need to
capture the timestamps for the first and last audio samples that arrive at
the driver level.

For this I’m capturing the CLOCK_MONOTONIC_RAW timestamp at the
.trigger(for playback & capture) callback in SNDRV_PCM_TRIGGER_START  case
– is it the correct timestamp for the first audio sample arrived at the
driver level?

Similarly does .trigger callbacks SNDRV_PCM_TRIGGER_STOP gives the last
audio sample timestamp?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux