From: aknudsen Date: Thu, 26 May 2011 20:19:19 +0000 (+0000) Subject: PA ALSA: define SND_PCM_TSTAMP_ENABLE as SND_PCM_TSTAMP_MMAP if the former is undefined X-Git-Tag: pa_stable_v19_20111121_r1788~76 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=ef2d8b6cd890bd388274fc77658d6de5df4da8bf;p=portaudio PA ALSA: define SND_PCM_TSTAMP_ENABLE as SND_PCM_TSTAMP_MMAP if the former is undefined --- diff --git a/src/hostapi/alsa/pa_linux_alsa.c b/src/hostapi/alsa/pa_linux_alsa.c index 4b7bf4e..f95aefa 100644 --- a/src/hostapi/alsa/pa_linux_alsa.c +++ b/src/hostapi/alsa/pa_linux_alsa.c @@ -79,6 +79,10 @@ #include "pa_linux_alsa.h" +#ifndef SND_PCM_TSTAMP_ENABLE +#define SND_PCM_TSTAMP_ENABLE SND_PCM_TSTAMP_MMAP +#endif + /* Defines Alsa function types and pointers to these functions. */ #define _PA_DEFINE_FUNC(x) typedef typeof(x) x##_ft; static x##_ft *alsa_##x = 0