On 1/31/15 1:37 AM, Alexander E. Patrakov wrote:
31.01.2015 04:55, Pierre-Louis Bossart wrote:
Audio timestamps can be extracted from sample counters, wall clocks, PHC clocks (Ethernet AVB), on-demand synchronized snapshots. This patch provides the ability to report timestamping capabilities, select timestamp types and retrieve timestamp accuracy, if supported. Details can be found in Documentations/sound/alsa/timestamping.txt
I think that it is a good idea to add some example ./audio_time output on a card that is neither HDAudio nor USB audio (i.e. a card not specifically touched by your patches), so that the fallback behavior is known.
I didn't change the USB behavior, only fixed the way the trigger_tstamp is found, and yes it shows what the fallback is. And the documentation is already quite long, I wonder how many people will read it to the end without falling into a deep coma ;-)