]> Repos - portaudio/commit
Alsa: Use hires timestamps (#560)
authorTrent Piepho <35062987+xyzzy42@users.noreply.github.com>
Thu, 3 Jun 2021 01:03:42 +0000 (18:03 -0700)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 01:03:42 +0000 (18:03 -0700)
commit9413fa051f0f9b830c117cb3dc4f6d675e330a99
treef36c5e8db8dddcc896d8d4d5a93963514821997a
parent9faca9b95bd93dd626839e4f3261e68c620f36a5
Alsa: Use hires timestamps (#560)

ALSA added nanosecond timestamps in library version 0.9.1.  Use these
instead of microsecond timestamps for reporting audio timestamps as well
as underrun/overrun times.

alsa-lib version 0.9.1 was released on Mar 11 2003.  I had fallback code
to use non-hires timestamps, but after 18 years it didn't seem
necessary, and I removed it from this commit.
src/hostapi/alsa/pa_linux_alsa.c