]> Repos - portaudio/commitdiff
PA ALSA: define SND_PCM_TSTAMP_ENABLE as SND_PCM_TSTAMP_MMAP if the former is undefined
authoraknudsen <aknudsen@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 26 May 2011 20:19:19 +0000 (20:19 +0000)
committeraknudsen <aknudsen@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 26 May 2011 20:19:19 +0000 (20:19 +0000)
src/hostapi/alsa/pa_linux_alsa.c

index 4b7bf4e9f1b3e939f0ef869cfb75d6d98c869438..f95aefa5ec7f4e3c44689ec0692554968d94b0af 100644 (file)
 
 #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