20 Dec
2014
20 Dec
'14
7:07 a.m.
No real functional change, only take wall clock and system time in same routine and add accuracy report.
*audio_ts = ns_to_timespec(nsec);
audio_tstamp_report->actual_type =
SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK;
audio_tstamp_report->accuracy_report = 1; /* rest of
structure is valid */
audio_tstamp_report->accuracy_m = 42; /* 24 MHz WallClock
== 42ns resolution */
audio_tstamp_report->accuracy_e = 0;
Do you mean wall clock run at 48000 * 500 Hz ? 42.666ns
Those aureal sound cards also can provide time stamp using VORTEX_SMP_TIME mmio register which tick at 48000 * 256 Hz ?